summaryrefslogtreecommitdiff
path: root/Doc/library/contextlib.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-03-11 09:43:25 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2013-03-11 09:43:25 +0200
commita41fb4be5bd6ecb931f53c86f255e7e9d185bbcb (patch)
tree560fe3d427882d25669b8c8b548cedafaf514fb6 /Doc/library/contextlib.rst
parent05cd03aa0dd53bdee72ff3a996873341d0e6ba19 (diff)
parentc9cfcf1e6cd946492be949533de906785d690069 (diff)
downloadcpython-git-a41fb4be5bd6ecb931f53c86f255e7e9d185bbcb.tar.gz
#17351: merge with 3.3.
Diffstat (limited to 'Doc/library/contextlib.rst')
-rw-r--r--Doc/library/contextlib.rst2
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