We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6af4d commit 9f54b19Copy full SHA for 9f54b19
1 file changed
Doc/library/inspect.rst
@@ -588,8 +588,11 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
588
589
Accessing an instance method through the class (rather than an instance)
590
returns a plain :term:`function`, not a bound method, so :func:`isasyncgenfunction`
591
- will return ``True`` in that case. See :ref:`instance-methods` in the
592
- language reference for details.
+ will return ``True`` if it is an asynchronous generator function. See
+ :ref:`instance-methods` in the language reference for details.
593
+
594
+ For a static method (:deco:`staticmethod`), this will return ``True`` if it
595
+ is an asynchronous generator function.
596
597
.. function:: isasyncgen(object)
598
0 commit comments