Skip to content

gh-149663: fix typo in unittest docs, hastattr -> hasattr#149670

Merged
sobolevn merged 1 commit into
python:mainfrom
arnimarj:fix-hastattr-typo
May 11, 2026
Merged

gh-149663: fix typo in unittest docs, hastattr -> hasattr#149670
sobolevn merged 1 commit into
python:mainfrom
arnimarj:fix-hastattr-typo

Conversation

@arnimarj
Copy link
Copy Markdown
Contributor

@arnimarj arnimarj commented May 11, 2026

@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels May 11, 2026
@python-cla-bot
Copy link
Copy Markdown

python-cla-bot Bot commented May 11, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community
Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32634282 | 📁 Comparing 2561d9d against main (833dae7)

  🔍 Preview build  

1 file changed
± library/unittest.html

Copy link
Copy Markdown
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Thanks! Good catch.

@sobolevn sobolevn added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels May 11, 2026
@sobolevn sobolevn merged commit 4956d2b into python:main May 11, 2026
46 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs May 11, 2026
@miss-islington-app
Copy link
Copy Markdown

Thanks @arnimarj for the PR, and @sobolevn for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@miss-islington-app
Copy link
Copy Markdown

Sorry, @arnimarj and @sobolevn, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 4956d2be9d5e555f2cf64faed9ef39e6a797c360 3.13

@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 11, 2026

GH-149672 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label May 11, 2026
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 11, 2026

GH-149673 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label May 11, 2026
@sobolevn
Copy link
Copy Markdown
Member

3.13 does not have this problem, backport is not needed: https://github.com/python/cpython/blob/3.13/Doc/library/unittest.rst

@sobolevn sobolevn removed the needs backport to 3.13 bugs and security fixes label May 11, 2026
sobolevn pushed a commit that referenced this pull request May 11, 2026
gh-149663: fix typo in `unittest` docs (GH-149670)

`hastattr` -> `hasattr`
(cherry picked from commit 4956d2b)

Co-authored-by: Árni Már Jónsson <arnimarj@gmail.com>
sobolevn pushed a commit that referenced this pull request May 11, 2026
gh-149663: fix typo in `unittest` docs (GH-149670)

`hastattr` -> `hasattr`
(cherry picked from commit 4956d2b)

Co-authored-by: Árni Már Jónsson <arnimarj@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants