File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
446446
447447 .. note ::
448448
449- Accessing an instance method through the class (rather than an instance )
449+ Accessing an instance method through the instance (rather than the class )
450450 returns a bound method, not a :term: `function `, so :func: `isfunction `
451451 will return ``False `` in that case. See :ref: `instance-methods ` in the
452452 language reference for details.
@@ -467,7 +467,6 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
467467 Functions wrapped in :func: `functools.partialmethod ` now return ``True ``
468468 if the wrapped function is a Python generator function.
469469
470-
471470.. function :: isgenerator(object)
472471
473472 Return ``True `` if the object is a generator.
@@ -564,7 +563,6 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
564563 Functions wrapped in :func: `functools.partialmethod ` now return ``True ``
565564 if the wrapped function is a :term: `asynchronous generator ` function.
566565
567-
568566.. function :: isasyncgen(object)
569567
570568 Return ``True `` if the object is an :term: `asynchronous generator iterator `
You can’t perform that action at this time.
0 commit comments