diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-01-06 13:08:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 18:08:48 +0000 |
commit | 201c48c8de35547c5e13b28a2616a8b7f880bad6 (patch) | |
tree | 7d86a01b9749486530840ce55c6a1024fb235d6a /changelog.d | |
parent | Strip unauthorized fields from `unsigned` object in events received over fede... (diff) | |
download | synapse-201c48c8de35547c5e13b28a2616a8b7f880bad6.tar.xz |
Remove a Python 2-ism and improve type hints. (#11699)
On Python 2, indexing a byte-string gives back a byte-string, while on Python 3 it gives back the ASCII equivalent as an int.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/11699.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11699.misc b/changelog.d/11699.misc new file mode 100644 index 0000000000..ffae5f2960 --- /dev/null +++ b/changelog.d/11699.misc @@ -0,0 +1 @@ +Remove fallback code for Python 2. |