summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2022-12-16 20:30:47 (GMT)
committerGitHub <noreply@github.com>2022-12-16 20:30:47 (GMT)
commita5a7cea202d34ca699d9594d428ba527ef7ff2ce (patch)
tree5176c390d975ad480718c43245f02a78a55a2b39 /Misc
parent5234e1cbea686e38392f113707db322ad8405048 (diff)
downloadcpython-a5a7cea202d34ca699d9594d428ba527ef7ff2ce.zip
cpython-a5a7cea202d34ca699d9594d428ba527ef7ff2ce.tar.gz
cpython-a5a7cea202d34ca699d9594d428ba527ef7ff2ce.tar.bz2
gh-100039: enhance __signature__ to work with str and callables (GH-100168)
Callables should be either class- or static-methods. Enum now uses the classmethod version to greatly improve the help given for enums and flags.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-12-10-20-52-28.gh-issue-100039.zDqjT4.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-12-10-20-52-28.gh-issue-100039.zDqjT4.rst b/Misc/NEWS.d/next/Library/2022-12-10-20-52-28.gh-issue-100039.zDqjT4.rst
new file mode 100644
index 0000000..d56643f
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-12-10-20-52-28.gh-issue-100039.zDqjT4.rst
@@ -0,0 +1 @@
+Improve signatures for enums and flags.