We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6650105 commit 059b9eaCopy full SHA for 059b9ea
Doc/library/functions.rst
@@ -499,7 +499,8 @@ are always available. They are listed here in alphabetical order.
499
:func:`exec` function. The return value is ``None``.
500
501
In all cases, if the optional parts are omitted, the code is executed in the
502
- current scope. If only *globals* is provided, it must be a dictionary, which
+ current scope. If only *globals* is provided, it must be a dictionary
503
+ (and not a subclass of dictionary), which
504
will be used for both the global and the local variables. If *globals* and
505
*locals* are given, they are used for the global and local variables,
506
respectively. If provided, *locals* can be any mapping object. Remember
0 commit comments