diff options
author | David Robertson <davidr@element.io> | 2022-03-29 11:41:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-29 10:41:19 +0000 |
commit | a2b00a44865ff11810c5302e33c1c61ce21a030e (patch) | |
tree | d16f0f5378588b3fb2c4584b00f271219255e2c1 /synapse/events/utils.py | |
parent | Remove unused `auth_event_ids` argument plumbing (#12304) (diff) | |
download | synapse-a2b00a44865ff11810c5302e33c1c61ce21a030e.tar.xz |
Bump `black` and `click` versions (#12320)
Diffstat (limited to 'synapse/events/utils.py')
-rw-r--r-- | synapse/events/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py index 7120062127..918e87ed9c 100644 --- a/synapse/events/utils.py +++ b/synapse/events/utils.py @@ -49,7 +49,7 @@ if TYPE_CHECKING: # the literal fields "foo\" and "bar" but will instead be treated as "foo\\.bar" SPLIT_FIELD_REGEX = re.compile(r"(?<!\\)\.") -CANONICALJSON_MAX_INT = (2 ** 53) - 1 +CANONICALJSON_MAX_INT = (2**53) - 1 CANONICALJSON_MIN_INT = -CANONICALJSON_MAX_INT |