diff options
author | Skip Montanaro <skip@pobox.com> | 2007-12-08 15:23:31 +0000 |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2007-12-08 15:23:31 +0000 |
commit | ffe455c3a2432fa34c08ad434ec51aecd366530d (patch) | |
tree | 3314bd453d47ee175a188a8edb45b725a0d4da06 | |
parent | 4e3ebe0baeba9a7b4a1dcfcadb8b042aef7eb5fb (diff) | |
download | cpython-git-ffe455c3a2432fa34c08ad434ec51aecd366530d.tar.gz |
+ "context manager"
-rw-r--r-- | Doc/glossary.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index c8347431e1..1ab8a8c0b4 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -68,6 +68,11 @@ Glossary advanced mathematical feature. If you're not aware of a need for them, it's almost certain you can safely ignore them. + context manager + Objects which control the environment seen in a :keyword:`with` + statement by defining :meth:`__enter__` and :meth:`__exit__` methods. + See :pep:`343`. + decorator A function returning another function, usually applied as a function transformation using the ``@wrapper`` syntax. Common examples for |