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

Appearance settings

gh-62480: De-personalize "Mocking Unbound Methods" section in unittest.mock examples#141322

Merged
CAM-Gerlach merged 3 commits into
python:mainpython/cpython:mainfrom
oklena:patch-1oklena/cpython:patch-1Copy head branch name to clipboard
Nov 9, 2025
Merged

gh-62480: De-personalize "Mocking Unbound Methods" section in unittest.mock examples#141322
CAM-Gerlach merged 3 commits into
python:mainpython/cpython:mainfrom
oklena:patch-1oklena/cpython:patch-1Copy head branch name to clipboard

Conversation

@oklena

@oklena oklena commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

Rewrote two first sentenced and the last sentence of Mocking Unbound Methods paragraph to second person.


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

@python-cla-bot

python-cla-bot Bot commented Nov 9, 2025

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app bedevere-app Bot added awaiting review docs Documentation in the Doc dir skip news labels Nov 9, 2025
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Nov 9, 2025
@oklena oklena changed the title rewrote Mocking Unbound Methods paragraph to second person gh-62480: Rewrote Mocking Unbound Methods paragraph to second person Nov 9, 2025
@CAM-Gerlach CAM-Gerlach self-requested a review November 9, 2025 23:10
@CAM-Gerlach CAM-Gerlach self-assigned this Nov 9, 2025
@CAM-Gerlach CAM-Gerlach added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Nov 9, 2025
@picnixz picnixz changed the title gh-62480: Rewrote Mocking Unbound Methods paragraph to second person gh-62480: De-personalize "Mocking Unbound Methods" section Nov 9, 2025
@picnixz picnixz changed the title gh-62480: De-personalize "Mocking Unbound Methods" section gh-62480: De-personalize "Mocking Unbound Methods" section in unittest.mock examples Nov 9, 2025
Comment thread Doc/library/unittest.mock-examples.rst Outdated
Comment thread Doc/library/unittest.mock-examples.rst Outdated

@CAM-Gerlach CAM-Gerlach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some further textual refinements and improvements

Comment thread Doc/library/unittest.mock-examples.rst Outdated
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Comment thread Doc/library/unittest.mock-examples.rst Outdated
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

@CAM-Gerlach CAM-Gerlach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM now, thanks @oklena !

@CAM-Gerlach CAM-Gerlach merged commit ec85d3c into python:main Nov 9, 2025
32 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 9, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @oklena for the PR, and @CAM-Gerlach for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 9, 2025
…unittest.mock` examples (pythonGH-141322)

* Rewrite Mocking Unbound Methods paragraph to second person
(cherry picked from commit ec85d3c)

Co-authored-by: Elena O <31424287+oklena@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@bedevere-app

bedevere-app Bot commented Nov 9, 2025

Copy link
Copy Markdown

GH-141324 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 Nov 9, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 9, 2025
…unittest.mock` examples (pythonGH-141322)

* Rewrite Mocking Unbound Methods paragraph to second person
(cherry picked from commit ec85d3c)

Co-authored-by: Elena O <31424287+oklena@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@bedevere-app

bedevere-app Bot commented Nov 9, 2025

Copy link
Copy Markdown

GH-141325 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Nov 9, 2025
CAM-Gerlach added a commit that referenced this pull request Nov 9, 2025
…`unittest.mock` examples (GH-141322) (#141324)

gh-62480: De-personalize "Mocking Unbound Methods" section in `unittest.mock` examples (GH-141322)

* Rewrite Mocking Unbound Methods paragraph to second person
(cherry picked from commit ec85d3c)

Co-authored-by: Elena O <31424287+oklena@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
CAM-Gerlach added a commit that referenced this pull request Nov 10, 2025
…`unittest.mock` examples (GH-141322) (#141325)

gh-62480: De-personalize "Mocking Unbound Methods" section in `unittest.mock` examples (GH-141322)

* Rewrite Mocking Unbound Methods paragraph to second person
(cherry picked from commit ec85d3c)

Co-authored-by: Elena O <31424287+oklena@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
…unittest.mock` examples (python#141322)

* Rewrite Mocking Unbound Methods paragraph to second person

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.