You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Doc/whatsnew/3.1.rst
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ Support was also added for third-party tools like `PyYAML <https://pyyaml.org/>`
81
81
written by Raymond Hettinger.
82
82
83
83
Since an ordered dictionary remembers its insertion order, it can be used
84
-
in conjuction with sorting to make a sorted dictionary::
84
+
in conjunction with sorting to make a sorted dictionary::
85
85
86
86
>>> # regular unsorted dictionary
87
87
>>> d = {'banana': 3, 'apple':4, 'pear': 1, 'orange': 2}
@@ -174,7 +174,7 @@ Some smaller changes made to the core Python language are:
174
174
175
175
(Contributed by Eric Smith; :issue:`5237`.)
176
176
177
-
* The :func:`string.maketrans` function is deprecated and is replaced by new
177
+
* The :func:`!string.maketrans` function is deprecated and is replaced by new
178
178
static methods, :meth:`bytes.maketrans` and :meth:`bytearray.maketrans`.
179
179
This change solves the confusion around which types were supported by the
180
180
:mod:`string` module. Now, :class:`str`, :class:`bytes`, and
@@ -381,16 +381,20 @@ New, Improved, and Deprecated Modules
381
381
x / 0
382
382
383
383
In addition, several new assertion methods were added including
0 commit comments