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

gh-101100: Fix Sphinx warnings inwhatsnew/3.2.rst#115580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugovk merged 3 commits intopython:mainfromhugovk:docs-fix-sphinx-warnings-3.2
Feb 17, 2024

Conversation

hugovk
Copy link
Member

@hugovkhugovk commentedFeb 16, 2024
edited by github-actionsbot
Loading

Fix 49 warnings:

Doc/whatsnew/3.2.rst:345: WARNING: py:class reference target not found: importlib.abc.PyLoaderDoc/whatsnew/3.2.rst:345: WARNING: py:class reference target not found: importlib.abc.PyPycLoaderDoc/whatsnew/3.2.rst:400: WARNING: py:func reference target not found: start_responseDoc/whatsnew/3.2.rst:418: WARNING: py:meth reference target not found: writeDoc/whatsnew/3.2.rst:418: WARNING: py:func reference target not found: start_responseDoc/whatsnew/3.2.rst:500: WARNING: py:meth reference target not found: __getattr__Doc/whatsnew/3.2.rst:500: WARNING: py:meth reference target not found: __getattribute__Doc/whatsnew/3.2.rst:621: WARNING: py:class reference target not found: collections.SequenceDoc/whatsnew/3.2.rst:723: WARNING: py:mod reference target not found: xml.etree.cElementTreeDoc/whatsnew/3.2.rst:1010: WARNING: py:data reference target not found: time.accept2dyearDoc/whatsnew/3.2.rst:1015: WARNING: py:data reference target not found: time.accept2dyearDoc/whatsnew/3.2.rst:1034: WARNING: py:data reference target not found: time.accept2dyearDoc/whatsnew/3.2.rst:1151: WARNING: py:meth reference target not found: __repr__Doc/whatsnew/3.2.rst:1157: WARNING: py:meth reference target not found: __repr__Doc/whatsnew/3.2.rst:1157: WARNING: py:meth reference target not found: __repr__Doc/whatsnew/3.2.rst:1338: WARNING: py:attr reference target not found: Context.clampDoc/whatsnew/3.2.rst:1431: WARNING: py:class reference target not found: zipfile.ZipExtFileDoc/whatsnew/3.2.rst:1599: WARNING: py:attr reference target not found: sqlite3.Connection.in_transitDoc/whatsnew/3.2.rst:1646: WARNING: py:func reference target not found: ssl.match_hostnameDoc/whatsnew/3.2.rst:1650: WARNING: py:func reference target not found: ssl.wrap_socketDoc/whatsnew/3.2.rst:1761: WARNING: py:class reference target not found: unittest.case.TestCaseDoc/whatsnew/3.2.rst:1799: WARNING: py:meth reference target not found: unittest.TestCase.assertRegexpMatchesDoc/whatsnew/3.2.rst:1816: WARNING: py:meth reference target not found: assert_Doc/whatsnew/3.2.rst:1817: WARNING: py:meth reference target not found: assertEqualsDoc/whatsnew/3.2.rst:1818: WARNING: py:meth reference target not found: assertNotEqualsDoc/whatsnew/3.2.rst:1819: WARNING: py:meth reference target not found: assertAlmostEqualsDoc/whatsnew/3.2.rst:1820: WARNING: py:meth reference target not found: assertNotAlmostEqualsDoc/whatsnew/3.2.rst:1827: WARNING: py:meth reference target not found: unittest.TestCase.assertDictContainsSubsetDoc/whatsnew/3.2.rst:2000: WARNING: py:meth reference target not found: getDoc/whatsnew/3.2.rst:2000: WARNING: py:meth reference target not found: setdefaultDoc/whatsnew/3.2.rst:2121: WARNING: py:class reference target not found: PdbDoc/whatsnew/3.2.rst:2397: WARNING: py:meth reference target not found: splitDoc/whatsnew/3.2.rst:2397: WARNING: py:meth reference target not found: rsplitDoc/whatsnew/3.2.rst:2397: WARNING: py:meth reference target not found: splitlinesDoc/whatsnew/3.2.rst:2397: WARNING: py:meth reference target not found: replaceDoc/whatsnew/3.2.rst:2397: WARNING: py:meth reference target not found: rfindDoc/whatsnew/3.2.rst:2397: WARNING: py:meth reference target not found: rindexDoc/whatsnew/3.2.rst:2397: WARNING: py:meth reference target not found: rsplitDoc/whatsnew/3.2.rst:2397: WARNING: py:meth reference target not found: rpartitionDoc/whatsnew/3.2.rst:2411: WARNING: py:meth reference target not found: array.repeatDoc/whatsnew/3.2.rst:2411: WARNING: py:class reference target not found: BaseHTTPRequestHandlerDoc/whatsnew/3.2.rst:2565: WARNING: c:macro reference target not found: Py_VA_COPYDoc/whatsnew/3.2.rst:2569: WARNING: c:func reference target not found: PySys_SetArgvExDoc/whatsnew/3.2.rst:2653: WARNING: py:meth reference target not found: array.tostringDoc/whatsnew/3.2.rst:2653: WARNING: py:meth reference target not found: array.fromstringDoc/whatsnew/3.2.rst:2653: WARNING: py:meth reference target not found: array.tobytesDoc/whatsnew/3.2.rst:2653: WARNING: py:meth reference target not found: array.frombytesDoc/whatsnew/3.2.rst:2667: WARNING: py:func reference target not found: sys.setfilesystemencodingDoc/whatsnew/3.2.rst:2675: WARNING: py:func reference target not found: string.maketrans

📚 Documentation preview 📚:https://cpython-previews--115580.org.readthedocs.build/

Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Nice! Just one question:

@@ -1336,7 +1336,7 @@ Decimal('1.100000000000000088817841970012523233890533447265625')
Fraction(2476979795053773, 2251799813685248)

Another useful change for the :mod:`decimal` module is that the
:attr:`Context.clamp` attribute is now public. This is useful in creating
:attr:`Context.clamp <decimal.Context>` attribute is now public. This is useful in creating
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Public... but apparently still undocumented? Should this maybe be left as is, and added to this list for now?

cpython/Doc/conf.py

Lines 273 to 279 in318f219

# Attributes/methods/etc. that definitely should be documented better,
# but are deferred for now:
('py:attr','__annotations__'),
('py:meth','__missing__'),
('py:attr','__wrapped__'),
('py:meth','index'),# list.index, tuple.index, etc.
]

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sure, added!

Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks!

hugovk reacted with rocket emoji
@hugovkhugovk merged commit4dff48d intopython:mainFeb 17, 2024
@hugovkhugovk deleted the docs-fix-sphinx-warnings-3.2 branchFebruary 17, 2024 10:03
@miss-islington-app
Copy link

Thanks@hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestFeb 17, 2024
…115580)(cherry picked from commit4dff48d)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@bedevere-app
Copy link

GH-115589 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelFeb 17, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestFeb 17, 2024
…115580)(cherry picked from commit4dff48d)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@bedevere-app
Copy link

GH-115590 is a backport of this pull request to the3.11 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.11only security fixes labelFeb 17, 2024
hugovk added a commit that referenced this pull requestFeb 17, 2024
… (#115589)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
hugovk added a commit that referenced this pull requestFeb 17, 2024
… (#115590)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull requestMar 4, 2024
…5580)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
diegorusso pushed a commit to diegorusso/cpython that referenced this pull requestApr 17, 2024
…5580)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
LukasWoodtli pushed a commit to LukasWoodtli/cpython that referenced this pull requestJan 22, 2025
…5580)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@AlexWaygoodAlexWaygoodAlexWaygood approved these changes

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hugovk@AlexWaygood

[8]ページ先頭

©2009-2025 Movatter.jp