summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorAlex <a.v.shkop@gmail.com>2021-02-26 19:58:39 (GMT)
committerGitHub <noreply@github.com>2021-02-26 19:58:39 (GMT)
commitcc02b4f2e810ab524d845daa18bc94df5b092dd8 (patch)
tree1f17c435bcaa6a428fd66166ac1b77dc9e5b795e /Misc/NEWS.d
parent5e48e836883ac577acd69c7b9bdfe5c439cef47f (diff)
downloadcpython-cc02b4f2e810ab524d845daa18bc94df5b092dd8.zip
cpython-cc02b4f2e810ab524d845daa18bc94df5b092dd8.tar.gz
cpython-cc02b4f2e810ab524d845daa18bc94df5b092dd8.tar.bz2
bpo-38302: __pow__/__rpow__ now called when __ipow__ returns NotImplemented (#16459)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-09-28-12-23-23.bpo-38302.hsCNgX.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-09-28-12-23-23.bpo-38302.hsCNgX.rst b/Misc/NEWS.d/next/Core and Builtins/2019-09-28-12-23-23.bpo-38302.hsCNgX.rst
new file mode 100644
index 0000000..e9462f1
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-09-28-12-23-23.bpo-38302.hsCNgX.rst
@@ -0,0 +1 @@
+If :func:`object.__ipow__` returns :const:`NotImplemented`, the operator will correctly fall back to :func:`object.__pow__` and :func:`object.__rpow__` as expected. \ No newline at end of file