[3.12] gh-105578: Add more usage examples to `typing.AnyStr` docs (GH-107045) by miss-islington · Pull Request #107503 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Merged
Conversation
Contributor
typing.AnyStr has different semantics to str | bytes, which often leads to user confusion
(cherry picked from commit f877b32)
Co-authored-by: Michael The michael-the1@users.noreply.github.com
📚 Documentation preview 📚: https://cpython-previews--107503.org.readthedocs.build/
…honGH-107045) ``typing.AnyStr`` has different semantics to ``str | bytes``, which often leads to user confusion (cherry picked from commit f877b32) Co-authored-by: Michael The <michael-the1@users.noreply.github.com>
miss-islington
requested review from
AlexWaygood,
Fidget-Spinner,
JelleZijlstra and
gvanrossum
as code owners
This was referenced
AlexWaygood
enabled auto-merge (squash)
AlexWaygood
self-assigned this
AlexWaygood
merged commit
9f58d9e
into
python:3.12
bedevere-bot
removed
the
awaiting review
label
miss-islington
deleted the
backport-f877b32-3.12
branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment