@@ -706,7 +706,7 @@ A hexadecimal string takes the form::
706706
707707 [sign] ['0x'] integer ['.' fraction] ['p' exponent]
708708
709- where the optional ``sign `` may by either ``+ `` or ``- ``, ``integer ``
709+ where the optional ``sign `` may be either ``+ `` or ``- ``, ``integer ``
710710and ``fraction `` are strings of hexadecimal digits, and ``exponent ``
711711is a decimal integer with an optional leading sign. Case is not
712712significant, and there must be at least one hexadecimal digit in
@@ -1345,7 +1345,7 @@ Mutable sequence types also support the following methods:
13451345 :no-typesetting:
13461346.. method :: sequence.pop(index=-1, /)
13471347
1348- Retrieve the item at *index * and also removes it from *sequence *.
1348+ Retrieve the item at *index * and also remove it from *sequence *.
13491349 By default, the last item in *sequence * is removed and returned.
13501350
13511351.. method :: bytearray.remove(value, /)
@@ -2120,7 +2120,7 @@ expression support in the :mod:`re` module).
21202120 one character, ``False `` otherwise. Alphabetic characters are those characters defined
21212121 in the Unicode character database as "Letter", i.e., those with general category
21222122 property being one of "Lm", "Lt", "Lu", "Ll", or "Lo". Note that this is different
2123- from the `Alphabetic property defined in the section 4.10 'Letters, Alphabetic, and
2123+ from the `Alphabetic property defined in section 4.10 'Letters, Alphabetic, and
21242124 Ideographic' of the Unicode Standard
21252125 <https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-4/#G91002> `__.
21262126 For example:
@@ -3044,7 +3044,7 @@ replacement field. For example::
30443044 '0.333333'
30453045 >>> f'{one_third:_^+10}'
30463046 '___+1/3___'
3047- >>> >>> f'{one_third!r:_^20}'
3047+ >>> f'{one_third!r:_^20}'
30483048 '___Fraction(1, 3)___'
30493049 >>> f'{one_third = :~>10}~'
30503050 'one_third = ~~~~~~~1/3~'
@@ -3054,12 +3054,12 @@ replacement field. For example::
30543054Template String Literals (t-strings)
30553055------------------------------------
30563056
3057- An :dfn: `t-string ` (formally a :dfn: `template string literal `) is
3057+ A :dfn: `t-string ` (formally a :dfn: `template string literal `) is
30583058a string literal that is prefixed with ``t `` or ``T ``.
30593059
30603060These strings follow the same syntax and evaluation rules as
30613061:ref: `formatted string literals <stdtypes-fstrings >`,
3062- with for the following differences:
3062+ with the following differences:
30633063
30643064* Rather than evaluating to a ``str `` object, template string literals evaluate
30653065 to a :class: `string.templatelib.Template ` object.
@@ -3086,7 +3086,7 @@ with for the following differences:
30863086 The :class: `!Interpolation ` instance for the expression will be created as
30873087 normal, except that :attr: `~string.templatelib.Interpolation.conversion ` will
30883088 be set to '``r ``' (:func: `repr `) by default.
3089- If an explicit conversion or format specifier are provided,
3089+ If an explicit conversion or format specifier is provided,
30903090 this will override the default behaviour.
30913091
30923092
@@ -3463,7 +3463,7 @@ objects.
34633463
34643464 .. classmethod :: fromhex(string, /)
34653465
3466- This :class: `bytearray ` class method returns bytearray object, decoding
3466+ This :class: `bytearray ` class method returns a bytearray object, decoding
34673467 the given string object. The string must contain two hexadecimal digits
34683468 per byte, with ASCII whitespace being ignored.
34693469
@@ -4427,7 +4427,7 @@ the ``%`` operator (modulo).
44274427This is also known as the bytes *formatting * or *interpolation * operator.
44284428Given ``format % values `` (where *format * is a bytes object), ``% `` conversion
44294429specifications in *format * are replaced with zero or more elements of *values *.
4430- The effect is similar to using the :c:func: `sprintf ` in the C language.
4430+ The effect is similar to using the :c:func: `sprintf ` function in the C language.
44314431
44324432If *format * requires a single argument, *values * may be a single non-tuple
44334433object. [5 ]_ Otherwise, *values * must be a tuple with exactly the number of
@@ -4628,7 +4628,7 @@ copying.
46284628 underlying data.
46294629
46304630 ``len(view) `` is equal to the length of :meth: `~memoryview.tolist `, which
4631- is the nested list representation of the view. If ``view.ndim = 1 ``,
4631+ is the nested list representation of the view. If ``view.ndim == 1 ``,
46324632 this is equal to the number of elements in the view.
46334633
46344634 .. versionchanged :: 3.12
@@ -4713,7 +4713,7 @@ copying.
47134713 :class: `collections.abc.Sequence `
47144714
47154715 .. versionchanged :: 3.5
4716- memoryviews can now be indexed with tuple of integers.
4716+ memoryviews can now be indexed with a tuple of integers.
47174717
47184718 .. versionchanged :: 3.14
47194719 memoryview is now a :term: `generic type `.
@@ -6182,7 +6182,7 @@ enables cleaner type hinting syntax compared to subscripting :class:`typing.Unio
61826182
61836183 .. note ::
61846184
6185- The ``| `` operand cannot be used at runtime to define unions where one or
6185+ The ``| `` operator cannot be used at runtime to define unions where one or
61866186 more members is a forward reference. For example, ``int | "Foo" ``, where
61876187 ``"Foo" `` is a reference to a class not yet defined, will fail at
61886188 runtime. For unions which include forward references, present the
@@ -6341,7 +6341,7 @@ Methods
63416341Methods are functions that are called using the attribute notation.
63426342There are two flavors: :ref: `built-in methods <builtin-methods >`
63436343(such as :meth: `~list.append ` on lists)
6344- and :ref: `class instance method <instance-methods >`.
6344+ and :ref: `class instance methods <instance-methods >`.
63456345Built-in methods are described with the types that support them.
63466346
63476347If you access a method (a function defined in a class namespace) through an
0 commit comments