diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-11 09:43:25 +0200 |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-11 09:43:25 +0200 |
| commit | a41fb4be5bd6ecb931f53c86f255e7e9d185bbcb (patch) | |
| tree | 560fe3d427882d25669b8c8b548cedafaf514fb6 /Doc/library/contextlib.rst | |
| parent | 05cd03aa0dd53bdee72ff3a996873341d0e6ba19 (diff) | |
| parent | c9cfcf1e6cd946492be949533de906785d690069 (diff) | |
| download | cpython-git-a41fb4be5bd6ecb931f53c86f255e7e9d185bbcb.tar.gz | |
#17351: merge with 3.3.
Diffstat (limited to 'Doc/library/contextlib.rst')
| -rw-r--r-- | Doc/library/contextlib.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index 4c8fe7803d..5355c94d43 100644 --- a/Doc/library/contextlib.rst +++ b/Doc/library/contextlib.rst @@ -381,7 +381,7 @@ and maps them to the context management protocol:: from contextlib import contextmanager, ExitStack - class ResourceManager(object): + class ResourceManager: def __init__(self, acquire_resource, release_resource, check_resource_ok=None): self.acquire_resource = acquire_resource |
