]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105578: Add more usage examples to `typing.AnyStr` docs (#107045)
authorMichael The <michael-the1@users.noreply.github.com>
Mon, 31 Jul 2023 15:23:08 +0000 (17:23 +0200)
committerGitHub <noreply@github.com>
Mon, 31 Jul 2023 15:23:08 +0000 (16:23 +0100)
commitf877b32b879f2076bb1c52826af0c28ebf1aaeed
tree4e5d96b81a77fd059b56169585ededd84d21c3f6
parentf22bf8e3cf899896cf587099d29290cb43aa9724
gh-105578: Add more usage examples to `typing.AnyStr` docs (#107045)

``typing.AnyStr`` has different semantics to ``str | bytes``, which often leads to user confusion
Doc/library/typing.rst