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

Clarify logger creation example in logging HOWTO#145540

Merged
vsajip merged 1 commit intopython:mainfrom
YK-03:fix-howto-doc-intro
Mar 5, 2026
Merged

Clarify logger creation example in logging HOWTO#145540
vsajip merged 1 commit intopython:mainfrom
YK-03:fix-howto-doc-intro

Conversation

@YK-03
Copy link
Contributor

@YK-03YK-03 commentedMar 5, 2026
edited by github-actionsbot
Loading

This PR clarifies the logger creation example in the Logging HOWTO.

The previous text usedgetLogger(__name__) without the module prefix,
which may confuse beginners. The example has been updated to
logging.getLogger(__name__) for clarity and consistency with later
examples in the document.

This is a small documentation clarification and does not change
functionality.


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

@YK-03YK-03 requested a review fromvsajip as acode ownerMarch 5, 2026 12:48
@python-cla-bot
Copy link

python-cla-botbot commentedMar 5, 2026
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir skip news awaiting review labelsMar 5, 2026
@YK-03YK-03 changed the titleClarify logger creation example in logging HOWTOgh-0: Clarify logger creation example in logging HOWTOMar 5, 2026
@YK-03
Copy link
ContributorAuthor

This change is a small documentation clarification, so it does not require a CPython issue.
Could a maintainer please add the "skip issue" label so thebedevere/issue-number check can pass?

@aiskaisk changed the titlegh-0: Clarify logger creation example in logging HOWTOClarify logger creation example in logging HOWTOMar 5, 2026
@vsajipvsajip merged commite094544 intopython:mainMar 5, 2026
37 checks passed
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsMar 5, 2026
@vsajipvsajip added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsMar 5, 2026
@miss-islington-app
Copy link

Thanks@YK-03 for the PR, and@vsajip for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks@YK-03 for the PR, and@vsajip for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMar 5, 2026
(cherry picked from commite094544)Co-authored-by: Yash Kaushik <yash005kaushik@gmail.com>
@bedevere-app
Copy link

GH-145561 is a backport of this pull request to the3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMar 5, 2026
(cherry picked from commite094544)Co-authored-by: Yash Kaushik <yash005kaushik@gmail.com>
@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMar 5, 2026
@miss-islington-app
Copy link

Thanks@YK-03 for the PR, and@vsajip for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@bedevere-app
Copy link

GH-145562 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMar 5, 2026
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMar 5, 2026
(cherry picked from commite094544)Co-authored-by: Yash Kaushik <yash005kaushik@gmail.com>
@miss-islington-app
Copy link

Sorry@YK-03 and@vsajip, I had trouble completing the backport.
Please retry by removing and re-adding the "needs backport to 3.14" label.
Please backport backport usingcherry_picker on the command line.

cherry_picker e0945443a0abdee56a51a5cb82a31edba5f1adab 3.14

vsajip pushed a commit that referenced this pull requestMar 5, 2026
…) (GH-145562)doc: Clarify logger creation example in logging HOWTO (GH-145540)(cherry picked from commite094544)Co-authored-by: Yash Kaushik <yash005kaushik@gmail.com>
vsajip pushed a commit that referenced this pull requestMar 6, 2026
…) (GH-145561)(cherry picked from commite094544)Co-authored-by: Yash Kaushik <yash005kaushik@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@vsajipvsajipvsajip approved these changes

Assignees

@vsajipvsajip

Labels

docsDocumentation in the Doc dirskip issueskip news

Projects

Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@YK-03@vsajip@aisk

[8]ページ先頭

©2009-2026 Movatter.jp