SIGN IN SIGN UP

[3.11] gh-105578: Add more usage examples to `typing.AnyStr` docs (GH-107045) (#107504)

gh-105578: Add more usage examples to `typing.AnyStr` docs (GH-107045)

``typing.AnyStr`` has different semantics to ``str | bytes``, which often leads to user confusion
(cherry picked from commit f877b32b879f2076bb1c52826af0c28ebf1aaeed)

Co-authored-by: Michael The <michael-the1@users.noreply.github.com>
M
Miss Islington (bot) committed
3de42bbf8cf372b2e6a59bb505b1c2c1544018db
Parent: 1b40431
Committed by GitHub <noreply@github.com> on 7/31/2023, 3:33:07 PM