Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b5b0e32

Browse filesBrowse files
[3.13] DOCS: fix error in exec namespace note (gh-119380)
When updating the new exec note added in gh-119235 as part of the PEP 667 general docs PR, I suggested a workaround that isn't valid. The first half of the note is still reasonable, so just omit the invalid text. (cherry picked from commit 31d61a7) Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
1 parent 455b386 commit b5b0e32
Copy full SHA for b5b0e32

File tree

1 file changed

+0
-4
lines changed
Filter options

1 file changed

+0
-4
lines changed

‎Doc/library/functions.rst

Copy file name to clipboardExpand all lines: Doc/library/functions.rst
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -623,10 +623,6 @@ are always available. They are listed here in alphabetical order.
623623
means functions and classes defined in the executed code will not be able
624624
to access variables assigned at the top level (as the "top level"
625625
variables are treated as class variables in a class definition).
626-
Passing a :class:`collections.ChainMap` instance as *globals* allows name
627-
lookups to be chained across multiple mappings without triggering this
628-
behaviour. Values assigned to top level names in the executed code can be
629-
retrieved by passing an empty dictionary as the first entry in the chain.
630626

631627
If the *globals* dictionary does not contain a value for the key
632628
``__builtins__``, a reference to the dictionary of the built-in module

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.