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 /synapse/rest | |
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 'synapse/rest')
0 files changed, 0 insertions, 0 deletions