File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ type.
165
165
166
166
Describes a field of a struct sequence. As a struct sequence is modeled as a
167
167
tuple, all fields are typed as :c:expr: `PyObject* `. The index in the
168
- `` fields ` ` array of the :c:type: `PyStructSequence_Desc ` determines which
168
+ :attr: ` fields ` array of the :c:type: `PyStructSequence_Desc ` determines which
169
169
field of the struct sequence is described.
170
170
171
171
+-----------+------------------+-----------------------------------------+
Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ The following functions and structs are used to create
477
477
* :c:member:`~PyTypeObject.tp_vectorcall_offset`
478
478
(see :ref: `PyMemberDef <pymemberdef-offsets >`)
479
479
480
- Setting :c:data:`! Py_tp_bases` or :c:data:`! Py_tp_base` may be
480
+ Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be
481
481
problematic on some platforms.
482
482
To avoid issues, use the *bases* argument of
483
483
:c:func:`PyType_FromSpecWithBases` instead.
Original file line number Diff line number Diff line change @@ -1207,7 +1207,7 @@ This codec is special in that it can be used to implement many different codecs
1207
1207
(and this is in fact what was done to obtain most of the standard codecs
1208
1208
included in the :mod: `!encodings ` package). The codec uses mappings to encode and
1209
1209
decode characters. The mapping objects provided must support the
1210
- :meth:`! __getitem__` mapping interface; dictionaries and sequences work well.
1210
+ :meth:`~object. __getitem__` mapping interface; dictionaries and sequences work well.
1211
1211
1212
1212
These are the mapping codec APIs:
1213
1213
@@ -1250,7 +1250,7 @@ The following codec API is special in that maps Unicode to Unicode.
1250
1250
The mapping table must map Unicode ordinal integers to Unicode ordinal integers
1251
1251
or ``None `` (causing deletion of the character).
1252
1252
1253
- Mapping tables need only provide the :meth:`! __getitem__` interface; dictionaries
1253
+ Mapping tables need only provide the :meth:`~object. __getitem__` interface; dictionaries
1254
1254
and sequences work well. Unmapped character ordinals (ones which cause a
1255
1255
:exc: `LookupError `) are left untouched and are copied as-is.
1256
1256
You can’t perform that action at this time.
0 commit comments