| Index: tools/telemetry/third_party/pyfakefs/pyfakefs/example.py
|
| diff --git a/tools/telemetry/third_party/pyfakefs/pyfakefs/example.py b/tools/telemetry/third_party/pyfakefs/pyfakefs/example.py
|
| index f71402e2b4e37f38f8a2aff3efb78c64a090a413..436e4cf2b8b0c19be3462e0e5c4a12aac7ce1000 100644
|
| --- a/tools/telemetry/third_party/pyfakefs/pyfakefs/example.py
|
| +++ b/tools/telemetry/third_party/pyfakefs/pyfakefs/example.py
|
| @@ -29,12 +29,13 @@ The modules related to file handling are bound to the respective fake modules:
|
| >>> shutil #doctest: +ELLIPSIS
|
| <fake_filesystem_shutil.FakeShutilModule object...>
|
|
|
| -The `file()` and `open()` built-ins are bound to the fake `open()`:
|
| +The `open()` built-in is bound to the fake `open()`:
|
|
|
| ->>> file #doctest: +ELLIPSIS
|
| -<fake_filesystem.FakeFileOpen object...>
|
| >>> open #doctest: +ELLIPSIS
|
| <fake_filesystem.FakeFileOpen object...>
|
| +
|
| +In Python 2 the `file()` built-in is also bound to the fake `open()`. `file()`
|
| +was eliminated in Python 3.
|
| """
|
|
|
| import os
|
|
|