[Python-checkins] bpo-44978: allow Argument Clinic to handle __complex__ special methods (GH-27886)

mdickinson webhook-mailer at python.org
Sun Aug 22 08:13:42 EDT 2021


https://github.com/python/cpython/commit/c5c3fbe2a16a8fcb77eb98eda53efb3e03b863ca
commit: c5c3fbe2a16a8fcb77eb98eda53efb3e03b863ca
branch: main
author: Mark Dickinson <mdickinson at enthought.com>
committer: mdickinson <dickinsm at gmail.com>
date: 2021-08-22T13:13:26+01:00
summary:

bpo-44978: allow Argument Clinic to handle __complex__ special methods (GH-27886)

files:
A Misc/NEWS.d/next/Tools-Demos/2021-08-22-11-45-31.bpo-44978.QupKV3.rst
M Tools/clinic/clinic.py

diff --git a/Misc/NEWS.d/next/Tools-Demos/2021-08-22-11-45-31.bpo-44978.QupKV3.rst b/Misc/NEWS.d/next/Tools-Demos/2021-08-22-11-45-31.bpo-44978.QupKV3.rst
new file mode 100644
index 00000000000000..c7a844c1230e2e
--- /dev/null
+++ b/Misc/NEWS.d/next/Tools-Demos/2021-08-22-11-45-31.bpo-44978.QupKV3.rst
@@ -0,0 +1 @@
+Allow the Argument Clinic tool to handle ``__complex__`` special methods.
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index b52ac3b00de9ee..ed17fabf8d2a14 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -2181,7 +2181,6 @@ def __repr__(self):
 __and__
 __bytes__
 __call__
-__complex__
 __delitem__
 __divmod__
 __eq__



More information about the Python-checkins mailing list