summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSanket Dasgupta <sanketdasgupta@gmail.com>2017-09-24 18:29:22 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2017-09-24 18:29:22 (GMT)
commit5b9299d8c72aeadccadd77e4b8132094ba9a1f96 (patch)
treeeb661d1332850e8f8e4e4b42ebf643fef79b0621 /Misc
parent5d3e80021ab33360191eb0fbff34e0246c913884 (diff)
downloadcpython-5b9299d8c72aeadccadd77e4b8132094ba9a1f96.zip
cpython-5b9299d8c72aeadccadd77e4b8132094ba9a1f96.tar.gz
cpython-5b9299d8c72aeadccadd77e4b8132094ba9a1f96.tar.bz2
bpo-30085: Improve documentation for operator (#1171)
The dunderless functions are preferred; dunder are retained for back compatilibity. Patch by Sanket Dasgupta.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Documentation/2017-09-14-18-44-50.bpo-30085.0J9w-u.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2017-09-14-18-44-50.bpo-30085.0J9w-u.rst b/Misc/NEWS.d/next/Documentation/2017-09-14-18-44-50.bpo-30085.0J9w-u.rst
new file mode 100644
index 0000000..c8be050
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2017-09-14-18-44-50.bpo-30085.0J9w-u.rst
@@ -0,0 +1,2 @@
+The operator functions without double underscores are preferred for clarity.
+The one with underscores are only kept for back-compatibility.