Browse Source
Fix plural typo in documentation (GH-19799)
Co-authored-by: Alex Povel <python@alexpovel.de>
pull/19810/head
Alex Povel
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Doc/faq/design.rst
|
|
|
@ -651,7 +651,7 @@ Why doesn't Python have a "with" statement for attribute assignments? |
|
|
|
--------------------------------------------------------------------- |
|
|
|
|
|
|
|
Python has a 'with' statement that wraps the execution of a block, calling code |
|
|
|
on the entrance and exit from the block. Some language have a construct that |
|
|
|
on the entrance and exit from the block. Some languages have a construct that |
|
|
|
looks like this:: |
|
|
|
|
|
|
|
with obj: |
|
|
|
|