Commit 499b79d
gh-102500: Remove mention of bytes shorthand (#104281)
The bytes shorthand was removed in PEP 688:
https://peps.python.org/pep-0688/#no-special-meaning-for-bytes
The reference to collections.abc.ByteString is also removed, since that object is deprecated (#91896) and has different semantics (#102092)
Although PEP 688 is new in Python 3.12, type checkers are expected to implement the new semantics for type annotations even if users are using an older version of Python, so this docs PR is backported to Python 3.11.
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
1 parent 065e2ae commit 499b79d
1 file changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2090 | 2090 | | |
2091 | 2091 | | |
2092 | 2092 | | |
2093 | | - | |
2094 | | - | |
2095 | 2093 | | |
2096 | 2094 | | |
2097 | 2095 | | |
2098 | | - | |
2099 | | - | |
2100 | | - | |
2101 | | - | |
2102 | | - | |
2103 | | - | |
| 2096 | + | |
| 2097 | + | |
2104 | 2098 | | |
2105 | 2099 | | |
2106 | 2100 | | |
| |||
2892 | 2886 | | |
2893 | 2887 | | |
2894 | 2888 | | |
| 2889 | + | |
| 2890 | + | |
2895 | 2891 | | |
2896 | 2892 | | |
0 commit comments