GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-106318: Add doctest role and a 'See also' item for str.split() by adorilson · Pull Request #144367 · python/cpython

Conversation

@adorilson

@adorilson adorilson commented Jan 31, 2026 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

WIP to #106318

#106318: Add doctest role and a 'See also' item for str.split()

  • Issue: Add examples to docs for str methods #106318

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@adorilson
pythongh-106318: Add doctest role and a 'See also' item for str.split()
1b50604
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Jan 31, 2026
@github-project-automation github-project-automation Bot added this to Docs PRs Jan 31, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Jan 31, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Jan 31, 2026
Add examples to docs for str methods #106318
Open
@bedevere-app bedevere-app Bot added the awaiting review label Jan 31, 2026
davidlowryduda
davidlowryduda reviewed Feb 3, 2026
View reviewed changes

@davidlowryduda davidlowryduda left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 5, 2026
serhiy-storchaka
serhiy-storchaka approved these changes Jun 2, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Jun 2, 2026
@serhiy-storchaka
serhiy-storchaka requested a review from hugovk June 2, 2026 18:32
@StanFromIreland

StanFromIreland commented Jun 3, 2026

Copy link
Copy Markdown
Member

Adding many doctests is a bit of a split topic: #111704 I think we would however avoid some churn if we ran them all by default.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

hugovk
hugovk approved these changes Jun 4, 2026
View reviewed changes
@hugovk hugovk added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Jun 4, 2026
@hugovk

hugovk commented Jun 4, 2026

Copy link
Copy Markdown
Member

I think we would however avoid some churn if we ran them all by default.

We should check how much longer that takes to run: #111704 (comment)

But also continue in that issue :)

StanFromIreland reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@StanFromIreland
StanFromIreland merged commit a96cba5 into python:main Jun 4, 2026
46 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jun 4, 2026
@miss-islington-app

miss-islington-app Bot commented Jun 4, 2026

Copy link
Copy Markdown

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Jun 4, 2026
@bedevere-app

bedevere-app Bot commented Jun 4, 2026

Copy link
Copy Markdown

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Jun 4, 2026
@bedevere-app

bedevere-app Bot commented Jun 4, 2026

Copy link
Copy Markdown

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jun 4, 2026
@bedevere-app

bedevere-app Bot commented Jun 4, 2026

Copy link
Copy Markdown

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Jun 4, 2026
StanFromIreland pushed a commit that referenced this pull request Jun 4, 2026
@miss-islington @adorilson
[3.13] gh-106318: Add doctest role and a 'See also' to the `str.split…
d7beb9c
…()` docs (GH-144367)

(cherry picked from commit a96cba5)

Co-authored-by: Adorilson Bezerra <[email protected]>
StanFromIreland pushed a commit that referenced this pull request Jun 4, 2026
@miss-islington @adorilson
[3.14] gh-106318: Add doctest role and a 'See also' to the `str.split…
35ec255
…()` docs (GH-144367)

(cherry picked from commit a96cba5)

Co-authored-by: Adorilson Bezerra <[email protected]>
StanFromIreland pushed a commit that referenced this pull request Jun 4, 2026
@miss-islington @adorilson
[3.15] gh-106318: Add doctest role and a 'See also' to the `str.split…
253c518
…()` docs (GH-144367)

(cherry picked from commit a96cba5)

Co-authored-by: Adorilson Bezerra <[email protected]>
philthompson10 pushed a commit to philthompson10/cpython that referenced this pull request Jun 17, 2026
@adorilson @philthompson10
pythongh-106318: Add doctest role and a 'See also' to the `str.split(…
3b92926
…)` docs (python#144367)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hugovk hugovk hugovk approved these changes
@serhiy-storchaka serhiy-storchaka serhiy-storchaka approved these changes
+1 more reviewer
@davidlowryduda davidlowryduda davidlowryduda left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

docs Documentation in the Doc dir skip news stale Stale PR or inactive for long period of time.

Projects

Docs PRs
Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@adorilson @StanFromIreland @hugovk @davidlowryduda @serhiy-storchaka
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.