Skip to content

Conversation

@CubeSugarCheese
Copy link
Contributor

@CubeSugarCheese CubeSugarCheese commented Nov 4, 2023

@ghost
Copy link

ghost commented Nov 4, 2023

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 4, 2023
@AlexWaygood AlexWaygood added the needs backport to 3.12 only security fixes label Nov 4, 2023
Copy link
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.

I know that other examples already do this, but in my opinion the current example is better, because it is more portable. 3.12 is out for like 2 months, while other versions do not support this syntax.

However, since we already did this change, I agree that all examples should be consistent.

Thanks a lot! :)

@JelleZijlstra JelleZijlstra merged commit c3e19c3 into python:main Nov 7, 2023
@miss-islington-app
Copy link

Thanks @CubeSugarCheese for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 7, 2023
…e code in `Doc/library/typing.rst` (pythonGH-111734)

use new generic syntax
(cherry picked from commit c3e19c3)

Co-authored-by: 方糖 <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Nov 7, 2023

GH-111814 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Nov 7, 2023
JelleZijlstra pushed a commit that referenced this pull request Nov 7, 2023
…le code in `Doc/library/typing.rst` (GH-111734) (#111814)

(cherry picked from commit c3e19c3)

Co-authored-by: 方糖 <[email protected]>
hugovk pushed a commit to hugovk/cpython that referenced this pull request Nov 8, 2023
…e code in `Doc/library/typing.rst` (python#111734)

use new generic syntax
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…e code in `Doc/library/typing.rst` (python#111734)

use new generic syntax
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…e code in `Doc/library/typing.rst` (python#111734)

use new generic syntax
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

None yet

Development

Successfully merging this pull request may close these issues.

Outdated example code of typing.Concatenate

4 participants