Skip to content

Commit 245a701

Browse files
authored
Fix NEWS entry formatting for gh-142418
Corrected the NEWS entry
1 parent 1c4e6b9 commit 245a701

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
Fix inspect.iscoroutinefunction() not detecting marked functools.partial or functools.partialmethod objects.
1+
Fix ``inspect.iscoroutinefunction()`` incorrectly returning ``False`` for
2+
callables wrapped in ``functools.partial`` or ``functools.partialmethod`` when
3+
explicitly marked with ``inspect.markcoroutinefunction()``. The function now
4+
detects coroutine markers on wrappers at each unwrap stage.

0 commit comments

Comments
 (0)