Skip to content

Commit

Permalink
Revert unintended formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
kristjanvalur committed Apr 27, 2022
1 parent 67c9b32 commit 1087770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ class initializer. In the case of conflicting arguments, querystring
def __init__(
self, connection_class=Connection, max_connections=None, **connection_kwargs
):
max_connections = max_connections or 2**31
max_connections = max_connections or 2 ** 31
if not isinstance(max_connections, int) or max_connections < 0:
raise ValueError('"max_connections" must be a positive integer')

Expand Down

0 comments on commit 1087770

Please sign in to comment.