Skip to content

Commit cc2bcc7

Browse files
committed
Rephrase the news entry again
1 parent 4db216f commit cc2bcc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
When registering a callable to :func:`functools.singledispatch`
1+
When registering a callable or descriptor to :func:`functools.singledispatch`
22
or :func:`functools.singledispatchmethod` via a type annotation,
3-
it is now validated that the first proper positional parameter is annotated.
3+
it is now validated that the first non-*self* or non-*cls* parameter is used.
44
Previously, a callable could be registered based on its return type
55
annotation or an irrelevant parameter type annotation. Patch by Bartosz Sławecki.

0 commit comments

Comments
 (0)