diff options
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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. |