Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 31, 2023

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>
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

4 participants