@@ -305,10 +305,10 @@ APIs:
305305 | | | *NULL *). |
306306 +-------------------+---------------------+--------------------------------+
307307 | :attr: `%S ` | PyObject\* | The result of calling |
308- | | | :func : `PyObject_Str `. |
308+ | | | :cfunc : `PyObject_Str `. |
309309 +-------------------+---------------------+--------------------------------+
310310 | :attr: `%R ` | PyObject\* | The result of calling |
311- | | | :func : `PyObject_Repr `. |
311+ | | | :cfunc : `PyObject_Repr `. |
312312 +-------------------+---------------------+--------------------------------+
313313
314314 An unrecognized format character causes all the rest of the format string to be
@@ -325,7 +325,7 @@ APIs:
325325
326326.. cfunction :: PyObject* PyUnicode_FromFormatV(const char *format, va_list vargs)
327327
328- Identical to :func : `PyUnicode_FromFormat ` except that it takes exactly two
328+ Identical to :cfunc : `PyUnicode_FromFormat ` except that it takes exactly two
329329 arguments.
330330
331331
@@ -375,7 +375,7 @@ To encode and decode file names and other environment strings,
375375:cdata: `Py_FileSystemEncoding ` should be used as the encoding, and
376376``"surrogateescape" `` should be used as the error handler (:pep: `383 `). To
377377encode file names during argument parsing, the ``"O&" `` converter should be
378- used, passsing :func : `PyUnicode_FSConverter ` as the conversion function:
378+ used, passsing :cfunc : `PyUnicode_FSConverter ` as the conversion function:
379379
380380.. cfunction :: int PyUnicode_FSConverter(PyObject* obj, void* result)
381381
@@ -388,7 +388,7 @@ used, passsing :func:`PyUnicode_FSConverter` as the conversion function:
388388
389389
390390To decode file names during argument parsing, the ``"O&" `` converter should be
391- used, passsing :func : `PyUnicode_FSDecoder ` as the conversion function:
391+ used, passsing :cfunc : `PyUnicode_FSDecoder ` as the conversion function:
392392
393393.. cfunction :: int PyUnicode_FSDecoder(PyObject* obj, void* result)
394394
@@ -407,7 +407,7 @@ used, passsing :func:`PyUnicode_FSDecoder` as the conversion function:
407407
408408 If :cdata: `Py_FileSystemDefaultEncoding ` is not set, fall back to UTF-8.
409409
410- Use :func : `PyUnicode_DecodeFSDefaultAndSize ` if you know the string length.
410+ Use :cfunc : `PyUnicode_DecodeFSDefaultAndSize ` if you know the string length.
411411
412412
413413.. cfunction :: PyObject* PyUnicode_DecodeFSDefault(const char *s)
0 commit comments