@@ -1277,22 +1277,22 @@ Notes:
12771277 item is removed and returned.
12781278
12791279(3)
1280- :meth: `remove ` raises :exc: `ValueError ` when *x * is not found in *s *.
1280+ :meth: `! remove ` raises :exc: `ValueError ` when *x * is not found in *s *.
12811281
12821282(4)
1283- The :meth: `reverse ` method modifies the sequence in place for economy of
1283+ The :meth: `! reverse ` method modifies the sequence in place for economy of
12841284 space when reversing a large sequence. To remind users that it operates by
12851285 side effect, it does not return the reversed sequence.
12861286
12871287(5)
1288- :meth: `clear ` and :meth: `!copy ` are included for consistency with the
1288+ :meth: `! clear ` and :meth: `!copy ` are included for consistency with the
12891289 interfaces of mutable containers that don't support slicing operations
12901290 (such as :class: `dict ` and :class: `set `). :meth: `!copy ` is not part of the
12911291 :class: `collections.abc.MutableSequence ` ABC, but most concrete
12921292 mutable sequence classes provide it.
12931293
12941294 .. versionadded :: 3.3
1295- :meth: `clear ` and :meth: `!copy ` methods.
1295+ :meth: `! clear ` and :meth: `!copy ` methods.
12961296
12971297(6)
12981298 The value *n * is an integer, or an object implementing
@@ -4659,11 +4659,12 @@ other sequence-like behavior.
46594659
46604660There are currently two built-in set types, :class: `set ` and :class: `frozenset `.
46614661The :class: `set ` type is mutable --- the contents can be changed using methods
4662- like :meth: `~set.add ` and :meth: `~set.remove `. Since it is mutable, it has no
4663- hash value and cannot be used as either a dictionary key or as an element of
4664- another set. The :class: `frozenset ` type is immutable and :term: `hashable ` ---
4665- its contents cannot be altered after it is created; it can therefore be used as
4666- a dictionary key or as an element of another set.
4662+ like :meth: `add <frozenset.add> ` and :meth: `remove <frozenset.add> `.
4663+ Since it is mutable, it has no hash value and cannot be used as
4664+ either a dictionary key or as an element of another set.
4665+ The :class: `frozenset ` type is immutable and :term: `hashable ` ---
4666+ its contents cannot be altered after it is created;
4667+ it can therefore be used as a dictionary key or as an element of another set.
46674668
46684669Non-empty sets (not frozensets) can be created by placing a comma-separated list
46694670of elements within braces, for example: ``{'jack', 'sjoerd'} ``, in addition to the
@@ -5762,7 +5763,7 @@ Methods
57625763.. index :: pair: object; method
57635764
57645765Methods are functions that are called using the attribute notation. There are
5765- two flavors: :ref: `built-in methods <builtin-methods >` (such as :meth: `append `
5766+ two flavors: :ref: `built-in methods <builtin-methods >` (such as :meth: `! append `
57665767on lists) and :ref: `class instance method <instance-methods >`.
57675768Built-in methods are described with the types that support them.
57685769
0 commit comments