Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1943877

Browse files
miss-islingtonAA-Turnerhugovk
authored
[3.13]GH-101100: Resolve reference warnings in whatsnew/2.7.rst (GH-138415) (#138442)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent45e5ee4 commit1943877

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

‎Doc/library/shutil.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ Directory and files operations
8383
copy the file more efficiently. See
8484
:ref:`shutil-platform-dependent-efficient-copy-operations` section.
8585

86+
..exception::SpecialFileError
87+
88+
This exception is raised when:func:`copyfile` or:func:`copytree` attempt
89+
to copy a named pipe.
90+
91+
..versionadded::2.7
92+
8693
..exception::SameFileError
8794

8895
This exception is raised if source and destination in:func:`copyfile`

‎Doc/tools/.nitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ Doc/using/windows.rst
6262
Doc/whatsnew/2.4.rst
6363
Doc/whatsnew/2.5.rst
6464
Doc/whatsnew/2.6.rst
65-
Doc/whatsnew/2.7.rst
6665
Doc/whatsnew/3.4.rst
6766
Doc/whatsnew/3.5.rst
6867
Doc/whatsnew/3.6.rst

‎Doc/whatsnew/2.7.rst‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ changes, or look through the Subversion logs for all the details.
15411541
buffer API, which fixed a test suite failure (fix by Antoine Pitrou;
15421542
:issue:`7133`) and automatically set
15431543
OpenSSL's:c:macro:`!SSL_MODE_AUTO_RETRY`, which will prevent an error
1544-
code being returned from:meth:`recv` operations that trigger an SSL
1544+
code being returned from:meth:`!recv` operations that trigger an SSL
15451545
renegotiation (fix by Antoine Pitrou;:issue:`8222`).
15461546

15471547
The:func:`~ssl.SSLContext.wrap_socket` constructor function now takes a
@@ -2031,7 +2031,7 @@ version 1.3. Some of the new features are:
20312031
* ElementTree's code for converting trees to a string has been
20322032
significantly reworked, making it roughly twice as fast in many
20332033
cases. The:meth:`ElementTree.write() <xml.etree.ElementTree.ElementTree.write>`
2034-
and:meth:`Element.write` methods now have a *method* parameter that can be
2034+
and:meth:`!Element.write` methods now have a *method* parameter that can be
20352035
"xml" (the default), "html", or "text". HTML mode will output empty
20362036
elements as ``<empty></empty>`` instead of ``<empty/>``, and text
20372037
mode will skip over elements and only output the text chunks. If
@@ -2044,7 +2044,7 @@ version 1.3. Some of the new features are:
20442044
Namespace handling has also been improved. All ``xmlns:<whatever>``
20452045
declarations are now output on the root element, not scattered throughout
20462046
the resulting XML. You can set the default namespace for a tree
2047-
by setting the:attr:`default_namespace` attribute and can
2047+
by setting the:attr:`!default_namespace` attribute and can
20482048
register new prefixes with:meth:`~xml.etree.ElementTree.register_namespace`. In XML mode,
20492049
you can use the true/false *xml_declaration* parameter to suppress the
20502050
XML declaration.
@@ -2181,14 +2181,14 @@ Changes to Python's build process and to the C API include:
21812181
discussed in:issue:`5753`, and fixed by Antoine Pitrou.
21822182

21832183
* New macros: the Python header files now define the following macros:
2184-
:c:macro:`Py_ISALNUM`,
2185-
:c:macro:`Py_ISALPHA`,
2186-
:c:macro:`Py_ISDIGIT`,
2187-
:c:macro:`Py_ISLOWER`,
2188-
:c:macro:`Py_ISSPACE`,
2189-
:c:macro:`Py_ISUPPER`,
2190-
:c:macro:`Py_ISXDIGIT`,
2191-
:c:macro:`Py_TOLOWER`, and:c:macro:`Py_TOUPPER`.
2184+
:c:macro:`!Py_ISALNUM`,
2185+
:c:macro:`!Py_ISALPHA`,
2186+
:c:macro:`!Py_ISDIGIT`,
2187+
:c:macro:`!Py_ISLOWER`,
2188+
:c:macro:`!Py_ISSPACE`,
2189+
:c:macro:`!Py_ISUPPER`,
2190+
:c:macro:`!Py_ISXDIGIT`,
2191+
:c:macro:`!Py_TOLOWER`, and:c:macro:`!Py_TOUPPER`.
21922192
All of these functions are analogous to the C
21932193
standard macros for classifying characters, but ignore the current
21942194
locale setting, because in
@@ -2234,7 +2234,7 @@ Changes to Python's build process and to the C API include:
22342234

22352235
* When using the:c:type:`PyMemberDef` structure to define attributes
22362236
of a type, Python will no longer let you try to delete or set a
2237-
:c:macro:`T_STRING_INPLACE` attribute.
2237+
:c:macro:`!T_STRING_INPLACE` attribute.
22382238

22392239
.. rev 79644
22402240
@@ -2259,12 +2259,12 @@ Changes to Python's build process and to the C API include:
22592259
:issue:`6491`.)
22602260

22612261
* The:program:`configure` script now checks for floating-point rounding bugs
2262-
on certain 32-bit Intel chips and defines a:c:macro:`X87_DOUBLE_ROUNDING`
2262+
on certain 32-bit Intel chips and defines a:c:macro:`!X87_DOUBLE_ROUNDING`
22632263
preprocessor definition. No code currently uses this definition,
22642264
but it's available if anyone wishes to use it.
22652265
(Added by Mark Dickinson;:issue:`2937`.)
22662266

2267-
:program:`configure` also now sets a:envvar:`LDCXXSHARED` Makefile
2267+
:program:`configure` also now sets a:envvar:`!LDCXXSHARED` Makefile
22682268
variable for supporting C++ linking. (Contributed by Arfrever
22692269
Frehtes Taifersar Arahesis;:issue:`1222585`.)
22702270

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp