@@ -81,7 +81,7 @@ Support was also added for third-party tools like `PyYAML <https://pyyaml.org/>`
8181 written by Raymond Hettinger.
8282
8383Since 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::
8585
8686 >>> # regular unsorted dictionary
8787 >>> d = {'banana': 3, 'apple':4, 'pear': 1, 'orange': 2}
@@ -174,7 +174,7 @@ Some smaller changes made to the core Python language are:
174174
175175 (Contributed by Eric Smith; :issue: `5237 `.)
176176
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
178178 static methods, :meth: `bytes.maketrans ` and :meth: `bytearray.maketrans `.
179179 This change solves the confusion around which types were supported by the
180180 :mod: `string ` module. Now, :class: `str `, :class: `bytes `, and
@@ -381,16 +381,20 @@ New, Improved, and Deprecated Modules
381381 x / 0
382382
383383 In addition, several new assertion methods were added including
384- :func: `assertSetEqual `, :func: `assertDictEqual `,
385- :func: `assertDictContainsSubset `, :func: `assertListEqual `,
386- :func: `assertTupleEqual `, :func: `assertSequenceEqual `,
387- :func: `assertRaisesRegexp `, :func: `assertIsNone `,
388- and :func: `assertIsNotNone `.
384+ :meth: `~unittest.TestCase.assertSetEqual `,
385+ :meth: `~unittest.TestCase.assertDictEqual `,
386+ :meth: `!assertDictContainsSubset `,
387+ :meth: `~unittest.TestCase.assertListEqual `,
388+ :meth: `~unittest.TestCase.assertTupleEqual `,
389+ :meth: `~unittest.TestCase.assertSequenceEqual `,
390+ :meth: `assertRaisesRegexp() <unittest.TestCase.assertRaisesRegex> `,
391+ :meth: `~unittest.TestCase.assertIsNone `,
392+ and :meth: `~unittest.TestCase.assertIsNotNone `.
389393
390394 (Contributed by Benjamin Peterson and Antoine Pitrou.)
391395
392- * The :mod: `io ` module has three new constants for the :meth: `seek `
393- method :data: `SEEK_SET `, :data: `SEEK_CUR `, and :data: `SEEK_END `.
396+ * The :mod: `io ` module has three new constants for the :meth: `~io.IOBase. seek `
397+ method: :data: `~os. SEEK_SET `, :data: `~os. SEEK_CUR `, and :data: `~os. SEEK_END `.
394398
395399* The :data: `sys.version_info ` tuple is now a named tuple::
396400
0 commit comments