@@ -717,7 +717,7 @@ are always available. They are listed here in alphabetical order.
717717 still access all builtins.
718718
719719 The *closure * argument specifies a closure--a tuple of cellvars.
720- It's only valid when the * object * is a code object containing
720+ It's only valid when * source * is a code object containing
721721 :term: `free (closure) variables <closure variable> `.
722722 The length of the tuple must exactly match the length of the code object's
723723 :attr: `~codeobject.co_freevars ` attribute.
@@ -2025,10 +2025,10 @@ are always available. They are listed here in alphabetical order.
20252025
20262026 When called directly within an ordinary method of a class, both arguments may
20272027 be omitted ("zero-argument :func: `!super `"). In this case, *type * will be the
2028- enclosing class, and *obj * will be the first argument of the immediately
2029- enclosing function (typically ``self ``). (This means that zero -argument
2028+ enclosing class, and *object_or_type * will be the first argument of the
2029+ immediately enclosing function (typically ``self ``). Zero -argument
20302030 :func: `!super ` will not work as expected within nested functions, including
2031- generator expressions, which implicitly create nested functions.)
2031+ generator expressions, which implicitly create nested functions.
20322032
20332033 There are two typical use cases for *super *. In a class hierarchy with
20342034 single inheritance, *super * can be used to refer to parent classes without
@@ -2283,10 +2283,9 @@ are always available. They are listed here in alphabetical order.
22832283 determine the package context of the :keyword: `import ` statement.
22842284
22852285 *level * specifies whether to use absolute or relative imports. ``0 `` (the
2286- default) means only perform absolute imports. Positive values for
2287- *level * indicate the number of parent directories to search relative to the
2288- directory of the module calling :func: `__import__ ` (see :pep: `328 ` for the
2289- details).
2286+ default) means only perform absolute imports. For relative imports,
2287+ ``1 `` refers to the current package, ``2 `` to its parent package, and so on
2288+ (see :pep: `328 ` for details).
22902289
22912290 When the *name * variable is of the form ``package.module ``, normally, the
22922291 top-level package (the name up till the first dot) is returned, *not * the
0 commit comments