[3.12] gh-105578: Add more usage examples to `typing.AnyStr` docs (GH-107045) by miss-islington · Pull Request #107503 · python/cpython

miss-islington · GitHub

…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 <[email protected]>

This was referenced

Jul 31, 2023 Open

Merged