Skip to content

Commit b3b5301

Browse files
committed
the inspect.is*function duck type change missed the boat for 3.10.5
1 parent 3c3d198 commit b3b5301

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/inspect.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ attributes:
340340
Functions wrapped in :func:`functools.partial` now return ``True`` if the
341341
wrapped function is a Python generator function.
342342

343-
.. versionchanged:: 3.10.5
343+
.. versionchanged:: 3.10.6
344344
Duck-type functions now return ``True`` if their code object has the CO_GENERATOR
345345
flag
346346

@@ -360,7 +360,7 @@ attributes:
360360
Functions wrapped in :func:`functools.partial` now return ``True`` if the
361361
wrapped function is a :term:`coroutine function`.
362362

363-
.. versionchanged:: 3.10.5
363+
.. versionchanged:: 3.10.6
364364
Duck-type functions now return ``True`` if their code object has the CO_COROUTINE
365365
flag
366366

@@ -408,7 +408,7 @@ attributes:
408408
Functions wrapped in :func:`functools.partial` now return ``True`` if the
409409
wrapped function is a :term:`asynchronous generator` function.
410410

411-
.. versionchanged:: 3.10.5
411+
.. versionchanged:: 3.10.6
412412
Duck-type functions now return ``True`` if their code object has the CO_ASYNC_GENERATOR
413413
flag
414414

0 commit comments

Comments
 (0)