Skip to content

Commit 695afcf

Browse files
authored
Merge branch 'main' into pprint
2 parents c2fd8d5 + 5e61a16 commit 695afcf

34 files changed

+1515
-1167
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,10 @@ functools
744744
callables.
745745
(Contributed by Serhiy Storchaka in :gh:`140873`.)
746746

747+
* :func:`~functools.singledispatchmethod` now dispatches on the second argument
748+
if it wraps a regular method and is called as a class attribute.
749+
(Contributed by Bartosz Sławecki in :gh:`143535`.)
750+
747751

748752
hashlib
749753
-------

Include/internal/pycore_opcode_metadata.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)