summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-01-18 23:22:20 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-01-18 23:22:20 (GMT)
commit9543b340066e85bb920a0655edf33e11050d7b08 (patch)
treed111331abed4d1df42473b5a0bdf3890b7574e7d /Misc
parent18acea7c8ea44fe1e655d64fe4f04fc9710f9ea7 (diff)
downloadcpython-9543b340066e85bb920a0655edf33e11050d7b08.zip
cpython-9543b340066e85bb920a0655edf33e11050d7b08.tar.gz
cpython-9543b340066e85bb920a0655edf33e11050d7b08.tar.bz2
SF patch #670423: Add missing identity tests to operator.c
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 5 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 30b4902..349712f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -517,6 +517,11 @@ Core and builtins
Extension modules
-----------------
+- Added three operators to the operator module:
+ operator.pow(a,b) which is equivalent to: a**b.
+ operator.is_(a,b) which is equivalent to: a is b.
+ operator.is_not(a,b) which is equivalent to: a is not b.
+
- posix.openpty now works on all systems that have /dev/ptmx.
- A module zipimport exists to support importing code from zip
@@ -733,8 +738,6 @@ Library
or when you need to use sets as dict keys, and a class BaseSet which
is the base class of the two.
-- Added operator.pow(a,b) which is equivalent to a**b.
-
- Added random.sample(population,k) for random sampling without replacement.
Returns a k length list of unique elements chosen from the population.