Skip to content

Commit d5abd02

Browse files
authored
[3.12] pythongh-123492: Remove unnecessary :func: parentheses (pythongh-123493) (python#123512)
1 parent 0181aa2 commit d5abd02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+122
-122
lines changed

Doc/c-api/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ propagated, additional calls into the Python/C API may not behave as intended
3434
and may fail in mysterious ways.
3535

3636
.. note::
37-
The error indicator is **not** the result of :func:`sys.exc_info()`.
37+
The error indicator is **not** the result of :func:`sys.exc_info`.
3838
The former corresponds to an exception that is not yet caught (and is
3939
therefore still propagating), while the latter returns an exception after
4040
it is caught (and has therefore stopped propagating).

Doc/c-api/import.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Importing Modules
174174
175175
.. versionadded:: 3.2
176176
.. versionchanged:: 3.3
177-
Uses :func:`!imp.source_from_cache()` in calculating the source path if
177+
Uses :func:`!imp.source_from_cache` in calculating the source path if
178178
only the bytecode path is provided.
179179
.. versionchanged:: 3.12
180180
No longer uses the removed :mod:`!imp` module.

Doc/deprecations/pending-removal-in-3.13.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ APIs:
4848
* ``read_binary()``
4949
* ``read_text()``
5050

51-
Use :func:`importlib.resources.files()` instead. Refer to `importlib-resources: Migrating from Legacy
51+
Use :func:`importlib.resources.files` instead. Refer to `importlib-resources: Migrating from Legacy
5252
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_ (:gh:`106531`)

Doc/deprecations/pending-removal-in-3.15.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Pending Removal in Python 3.15
99
* :class:`locale`: :func:`locale.getdefaultlocale` was deprecated in Python 3.11
1010
and originally planned for removal in Python 3.13 (:gh:`90817`),
1111
but removal has been postponed to Python 3.15.
12-
Use :func:`locale.setlocale()`, :func:`locale.getencoding()` and
13-
:func:`locale.getlocale()` instead.
12+
Use :func:`locale.setlocale`, :func:`locale.getencoding` and
13+
:func:`locale.getlocale` instead.
1414
(Contributed by Hugo van Kemenade in :gh:`111187`.)
1515

1616
* :mod:`pathlib`:

Doc/howto/descriptor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ were defined.
513513

514514
Descriptors are a powerful, general purpose protocol. They are the mechanism
515515
behind properties, methods, static methods, class methods, and
516-
:func:`super()`. They are used throughout Python itself. Descriptors
516+
:func:`super`. They are used throughout Python itself. Descriptors
517517
simplify the underlying C code and offer a flexible set of new tools for
518518
everyday Python programs.
519519

Doc/howto/enum.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Enum HOWTO
77
.. currentmodule:: enum
88

99
An :class:`Enum` is a set of symbolic names bound to unique values. They are
10-
similar to global variables, but they offer a more useful :func:`repr()`,
10+
similar to global variables, but they offer a more useful :func:`repr`,
1111
grouping, type-safety, and a few other features.
1212

1313
They are most useful when you have a variable that can take one of a limited
@@ -165,7 +165,7 @@ And a function to display the chores for a given day::
165165
answer SO questions
166166

167167
In cases where the actual values of the members do not matter, you can save
168-
yourself some work and use :func:`auto()` for the values::
168+
yourself some work and use :func:`auto` for the values::
169169

170170
>>> from enum import auto
171171
>>> class Weekday(Flag):

Doc/howto/instrumentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Available static markers
307307
.. object:: gc__start(int generation)
308308

309309
Fires when the Python interpreter starts a garbage collection cycle.
310-
``arg0`` is the generation to scan, like :func:`gc.collect()`.
310+
``arg0`` is the generation to scan, like :func:`gc.collect`.
311311

312312
.. object:: gc__done(long collected)
313313

Doc/library/ast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2171,7 +2171,7 @@ and classes for traversing abstract syntax trees:
21712171
If ``type_comments=True`` is given, the parser is modified to check
21722172
and return type comments as specified by :pep:`484` and :pep:`526`.
21732173
This is equivalent to adding :data:`ast.PyCF_TYPE_COMMENTS` to the
2174-
flags passed to :func:`compile()`. This will report syntax errors
2174+
flags passed to :func:`compile`. This will report syntax errors
21752175
for misplaced type comments. Without this flag, type comments will
21762176
be ignored, and the ``type_comment`` field on selected AST nodes
21772177
will always be ``None``. In addition, the locations of ``# type:

Doc/library/asyncio-runner.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Runner context manager
8989
current one. By default :func:`asyncio.new_event_loop` is used and set as
9090
current event loop with :func:`asyncio.set_event_loop` if *loop_factory* is ``None``.
9191

92-
Basically, :func:`asyncio.run()` example can be rewritten with the runner usage::
92+
Basically, :func:`asyncio.run` example can be rewritten with the runner usage::
9393

9494
async def main():
9595
await asyncio.sleep(1)

Doc/library/compileall.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ compile Python sources.
9090
.. option:: -j N
9191

9292
Use *N* workers to compile the files within the given directory.
93-
If ``0`` is used, then the result of :func:`os.cpu_count()`
93+
If ``0`` is used, then the result of :func:`os.cpu_count`
9494
will be used.
9595

9696
.. option:: --invalidation-mode [timestamp|checked-hash|unchecked-hash]

Doc/library/contextvars.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function and the :class:`~contextvars.Context` class should be used to
1515
manage the current context in asynchronous frameworks.
1616

1717
Context managers that have state should use Context Variables
18-
instead of :func:`threading.local()` to prevent their state from
18+
instead of :func:`threading.local` to prevent their state from
1919
bleeding to other code unexpectedly, when used in concurrent code.
2020

2121
See also :pep:`567` for additional details.
@@ -146,7 +146,7 @@ Manual Context Management
146146

147147
Every thread will have a different top-level :class:`~contextvars.Context`
148148
object. This means that a :class:`ContextVar` object behaves in a similar
149-
fashion to :func:`threading.local()` when values are assigned in different
149+
fashion to :func:`threading.local` when values are assigned in different
150150
threads.
151151

152152
Context implements the :class:`collections.abc.Mapping` interface.

Doc/library/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ are always available. They are listed here in alphabetical order.
161161
This function drops you into the debugger at the call site. Specifically,
162162
it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight
163163
through. By default, ``sys.breakpointhook()`` calls
164-
:func:`pdb.set_trace()` expecting no arguments. In this case, it is
164+
:func:`pdb.set_trace` expecting no arguments. In this case, it is
165165
purely a convenience function so you don't have to explicitly import
166166
:mod:`pdb` or type as much code to enter the debugger. However,
167167
:func:`sys.breakpointhook` can be set to some other function and
@@ -1267,7 +1267,7 @@ are always available. They are listed here in alphabetical order.
12671267
(which on *some* Unix systems, means that *all* writes append to the end of
12681268
the file regardless of the current seek position). In text mode, if
12691269
*encoding* is not specified the encoding used is platform-dependent:
1270-
:func:`locale.getencoding()` is called to get the current locale encoding.
1270+
:func:`locale.getencoding` is called to get the current locale encoding.
12711271
(For reading and writing raw bytes use binary mode and leave
12721272
*encoding* unspecified.) The available modes are:
12731273

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The :mod:`functools` module defines the following functions:
3434
Returns the same as ``lru_cache(maxsize=None)``, creating a thin
3535
wrapper around a dictionary lookup for the function arguments. Because it
3636
never needs to evict old values, this is smaller and faster than
37-
:func:`lru_cache()` with a size limit.
37+
:func:`lru_cache` with a size limit.
3838

3939
For example::
4040

Doc/library/getpass.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ The :mod:`getpass` module provides two functions:
4949
systems which support the :mod:`pwd` module, otherwise, an exception is
5050
raised.
5151

52-
In general, this function should be preferred over :func:`os.getlogin()`.
52+
In general, this function should be preferred over :func:`os.getlogin`.

Doc/library/inspect.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ Classes and functions
12041204
This function handles several details for you:
12051205

12061206
* If ``eval_str`` is true, values of type ``str`` will
1207-
be un-stringized using :func:`eval()`. This is intended
1207+
be un-stringized using :func:`eval`. This is intended
12081208
for use with stringized annotations
12091209
(``from __future__ import annotations``).
12101210
* If ``obj`` doesn't have an annotations dict, returns an
@@ -1218,16 +1218,16 @@ Classes and functions
12181218
* Always, always, always returns a freshly created dict.
12191219

12201220
``eval_str`` controls whether or not values of type ``str`` are replaced
1221-
with the result of calling :func:`eval()` on those values:
1221+
with the result of calling :func:`eval` on those values:
12221222

1223-
* If eval_str is true, :func:`eval()` is called on values of type ``str``.
1224-
(Note that ``get_annotations`` doesn't catch exceptions; if :func:`eval()`
1223+
* If eval_str is true, :func:`eval` is called on values of type ``str``.
1224+
(Note that ``get_annotations`` doesn't catch exceptions; if :func:`eval`
12251225
raises an exception, it will unwind the stack past the ``get_annotations``
12261226
call.)
12271227
* If eval_str is false (the default), values of type ``str`` are unchanged.
12281228

1229-
``globals`` and ``locals`` are passed in to :func:`eval()`; see the documentation
1230-
for :func:`eval()` for more information. If ``globals`` or ``locals``
1229+
``globals`` and ``locals`` are passed in to :func:`eval`; see the documentation
1230+
for :func:`eval` for more information. If ``globals`` or ``locals``
12311231
is ``None``, this function may replace that value with a context-specific
12321232
default, contingent on ``type(obj)``:
12331233

Doc/library/io.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ Text I/O
950950
:class:`TextIOBase`.
951951

952952
*encoding* gives the name of the encoding that the stream will be decoded or
953-
encoded with. It defaults to :func:`locale.getencoding()`.
953+
encoded with. It defaults to :func:`locale.getencoding`.
954954
``encoding="locale"`` can be used to specify the current locale's encoding
955955
explicitly. See :ref:`io-text-encoding` for more information.
956956

@@ -1182,7 +1182,7 @@ re-enter a buffered object which it is already accessing, a :exc:`RuntimeError`
11821182
is raised. Note this doesn't prohibit a different thread from entering the
11831183
buffered object.
11841184

1185-
The above implicitly extends to text files, since the :func:`open()` function
1185+
The above implicitly extends to text files, since the :func:`open` function
11861186
will wrap a buffered object inside a :class:`TextIOWrapper`. This includes
1187-
standard streams and therefore affects the built-in :func:`print()` function as
1187+
standard streams and therefore affects the built-in :func:`print` function as
11881188
well.

Doc/library/ipaddress.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ The module also provides the following module level functions:
10031003

10041004
doesn't make sense. There are some times however, where you may wish to
10051005
have :mod:`ipaddress` sort these anyway. If you need to do this, you can use
1006-
this function as the *key* argument to :func:`sorted()`.
1006+
this function as the *key* argument to :func:`sorted`.
10071007

10081008
*obj* is either a network or address object.
10091009

Doc/library/os.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ of the UTF-8 encoding:
113113

114114
* Use UTF-8 as the :term:`filesystem encoding <filesystem encoding and error
115115
handler>`.
116-
* :func:`sys.getfilesystemencoding()` returns ``'utf-8'``.
117-
* :func:`locale.getpreferredencoding()` returns ``'utf-8'`` (the *do_setlocale*
116+
* :func:`sys.getfilesystemencoding` returns ``'utf-8'``.
117+
* :func:`locale.getpreferredencoding` returns ``'utf-8'`` (the *do_setlocale*
118118
argument has no effect).
119119
* :data:`sys.stdin`, :data:`sys.stdout`, and :data:`sys.stderr` all use
120120
UTF-8 as their text encoding, with the ``surrogateescape``
@@ -133,8 +133,8 @@ level APIs also exhibit different default behaviours:
133133

134134
* Command line arguments, environment variables and filenames are decoded
135135
to text using the UTF-8 encoding.
136-
* :func:`os.fsdecode()` and :func:`os.fsencode()` use the UTF-8 encoding.
137-
* :func:`open()`, :func:`io.open()`, and :func:`codecs.open()` use the UTF-8
136+
* :func:`os.fsdecode` and :func:`os.fsencode` use the UTF-8 encoding.
137+
* :func:`open`, :func:`io.open`, and :func:`codecs.open` use the UTF-8
138138
encoding by default. However, they still use the strict error handler by
139139
default so that attempting to open a binary file in text mode is likely
140140
to raise an exception rather than producing nonsense data.
@@ -2756,7 +2756,7 @@ features:
27562756

27572757
.. versionchanged:: 3.6
27582758
Added support for the :term:`context manager` protocol and the
2759-
:func:`~scandir.close()` method. If a :func:`scandir` iterator is neither
2759+
:func:`~scandir.close` method. If a :func:`scandir` iterator is neither
27602760
exhausted nor explicitly closed a :exc:`ResourceWarning` will be emitted
27612761
in its destructor.
27622762

Doc/library/pdb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can then step through the code following this statement, and continue
4949
running without the debugger using the :pdbcmd:`continue` command.
5050

5151
.. versionchanged:: 3.7
52-
The built-in :func:`breakpoint()`, when called with defaults, can be used
52+
The built-in :func:`breakpoint`, when called with defaults, can be used
5353
instead of ``import pdb; pdb.set_trace()``.
5454

5555
::

Doc/library/signal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ The :mod:`signal` module defines the following functions:
425425
signal to a particular Python thread would be to force a running system call
426426
to fail with :exc:`InterruptedError`.
427427

428-
Use :func:`threading.get_ident()` or the :attr:`~threading.Thread.ident`
428+
Use :func:`threading.get_ident` or the :attr:`~threading.Thread.ident`
429429
attribute of :class:`threading.Thread` objects to get a suitable value
430430
for *thread_id*.
431431

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3432,7 +3432,7 @@ place, and instead produce new objects.
34323432
``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters
34333433
are those byte values in the sequence ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``.
34343434

3435-
Unlike :func:`str.swapcase()`, it is always the case that
3435+
Unlike :func:`str.swapcase`, it is always the case that
34363436
``bin.swapcase().swapcase() == bin`` for the binary versions. Case
34373437
conversions are symmetrical in ASCII, even though that is not generally
34383438
true for arbitrary Unicode code points.

Doc/library/subprocess.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ functions.
608608

609609
If *group* is not ``None``, the setregid() system call will be made in the
610610
child process prior to the execution of the subprocess. If the provided
611-
value is a string, it will be looked up via :func:`grp.getgrnam()` and
611+
value is a string, it will be looked up via :func:`grp.getgrnam` and
612612
the value in ``gr_gid`` will be used. If the value is an integer, it
613613
will be passed verbatim. (POSIX only)
614614

@@ -618,15 +618,15 @@ functions.
618618
If *extra_groups* is not ``None``, the setgroups() system call will be
619619
made in the child process prior to the execution of the subprocess.
620620
Strings provided in *extra_groups* will be looked up via
621-
:func:`grp.getgrnam()` and the values in ``gr_gid`` will be used.
621+
:func:`grp.getgrnam` and the values in ``gr_gid`` will be used.
622622
Integer values will be passed verbatim. (POSIX only)
623623

624624
.. availability:: POSIX
625625
.. versionadded:: 3.9
626626

627627
If *user* is not ``None``, the setreuid() system call will be made in the
628628
child process prior to the execution of the subprocess. If the provided
629-
value is a string, it will be looked up via :func:`pwd.getpwnam()` and
629+
value is a string, it will be looked up via :func:`pwd.getpwnam` and
630630
the value in ``pw_uid`` will be used. If the value is an integer, it will
631631
be passed verbatim. (POSIX only)
632632

Doc/library/sys.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,11 +724,11 @@ always available.
724724
regardless of their size. This function is mainly useful for tracking
725725
and debugging memory leaks. Because of the interpreter's internal
726726
caches, the result can vary from call to call; you may have to call
727-
:func:`_clear_type_cache()` and :func:`gc.collect()` to get more
727+
:func:`_clear_type_cache` and :func:`gc.collect` to get more
728728
predictable results.
729729

730730
If a Python build or implementation cannot reasonably compute this
731-
information, :func:`getallocatedblocks()` is allowed to return 0 instead.
731+
information, :func:`getallocatedblocks` is allowed to return 0 instead.
732732

733733
.. versionadded:: 3.4
734734

Doc/library/sysconfig.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ Installation path functions
305305
mix with those by the other.
306306

307307
End users should not use this function, but :func:`get_default_scheme` and
308-
:func:`get_preferred_scheme()` instead.
308+
:func:`get_preferred_scheme` instead.
309309

310310
.. versionadded:: 3.10
311311

Doc/library/tarfile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ be finalized; only the internally used file object will be closed. See the
608608
it is best practice to only do so in top-level applications or
609609
:mod:`site configuration <site>`.
610610
To set a global default this way, a filter function needs to be wrapped in
611-
:func:`staticmethod()` to prevent injection of a ``self`` argument.
611+
:func:`staticmethod` to prevent injection of a ``self`` argument.
612612

613613
.. method:: TarFile.add(name, arcname=None, recursive=True, *, filter=None)
614614

Doc/library/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,7 @@ The :mod:`test.support.warnings_helper` module provides support for warnings tes
16951695

16961696
.. function:: check_warnings(*filters, quiet=True)
16971697

1698-
A convenience wrapper for :func:`warnings.catch_warnings()` that makes it
1698+
A convenience wrapper for :func:`warnings.catch_warnings` that makes it
16991699
easier to test that a warning was correctly raised. It is approximately
17001700
equivalent to calling ``warnings.catch_warnings(record=True)`` with
17011701
:meth:`warnings.simplefilter` set to ``always`` and with the option to

Doc/library/token.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ the :mod:`tokenize` module.
7575
:noindex:
7676

7777
Token value indicating that a type comment was recognized. Such
78-
tokens are only produced when :func:`ast.parse()` is invoked with
78+
tokens are only produced when :func:`ast.parse` is invoked with
7979
``type_comments=True``.
8080

8181

Doc/library/unittest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2521,7 +2521,7 @@ Signal Handling
25212521
.. versionadded:: 3.2
25222522

25232523
The :option:`-c/--catch <unittest -c>` command-line option to unittest,
2524-
along with the ``catchbreak`` parameter to :func:`unittest.main()`, provide
2524+
along with the ``catchbreak`` parameter to :func:`unittest.main`, provide
25252525
more friendly handling of control-C during a test run. With catch break
25262526
behavior enabled control-C will allow the currently running test to complete,
25272527
and the test run will then end and report all the results so far. A second

Doc/library/zipapp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ Formally, the Python zip application format is therefore:
332332
interpreter name, and then a newline (``b'\n'``) character. The interpreter
333333
name can be anything acceptable to the OS "shebang" processing, or the Python
334334
launcher on Windows. The interpreter should be encoded in UTF-8 on Windows,
335-
and in :func:`sys.getfilesystemencoding()` on POSIX.
335+
and in :func:`sys.getfilesystemencoding` on POSIX.
336336
2. Standard zipfile data, as generated by the :mod:`zipfile` module. The
337337
zipfile content *must* include a file called ``__main__.py`` (which must be
338338
in the "root" of the zipfile - i.e., it cannot be in a subdirectory). The

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ Bytes
377377

378378
A bytes object is an immutable array. The items are 8-bit bytes,
379379
represented by integers in the range 0 <= x < 256. Bytes literals
380-
(like ``b'abc'``) and the built-in :func:`bytes()` constructor
380+
(like ``b'abc'``) and the built-in :func:`bytes` constructor
381381
can be used to create bytes objects. Also, bytes objects can be
382382
decoded to strings via the :meth:`~bytes.decode` method.
383383

Doc/tutorial/floatingpoint.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ accumulate to the point where they affect the final total:
230230
>>> sum([0.1] * 10) == 1.0
231231
True
232232

233-
The :func:`math.fsum()` goes further and tracks all of the "lost digits"
233+
The :func:`math.fsum` goes further and tracks all of the "lost digits"
234234
as values are added onto a running total so that the result has only a
235235
single rounding. This is slower than :func:`sum` but will be more
236236
accurate in uncommon cases where large magnitude inputs mostly cancel

Doc/using/cmdline.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ conflict.
950950
'surrogatepass' are used.
951951

952952
This may also be enabled at runtime with
953-
:func:`sys._enablelegacywindowsfsencoding()`.
953+
:func:`sys._enablelegacywindowsfsencoding`.
954954

955955
.. availability:: Windows.
956956

0 commit comments

Comments
 (0)