diff options
author | Joe Gordon <jogo@users.noreply.github.com> | 2023-04-06 09:14:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 09:14:40 -0700 |
commit | d8ec581fff55c63d93f3e15a2a302e395114a759 (patch) | |
tree | 1bd1f6ccc306899bb3fc916995620f34b98c5720 /pymemcache/client/base.py | |
parent | 1f95041f9f56b86ffcf4d43b4b7fe4d45c36f770 (diff) | |
parent | 88c5b69d6a3cda43511eeebcc783bb85be463059 (diff) | |
download | pymemcache-master.tar.gz |
Upgrade to black 23.3.0
Diffstat (limited to 'pymemcache/client/base.py')
-rw-r--r-- | pymemcache/client/base.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pymemcache/client/base.py b/pymemcache/client/base.py index 252e860..bac39dd 100644 --- a/pymemcache/client/base.py +++ b/pymemcache/client/base.py @@ -1306,7 +1306,6 @@ class Client: noreply: Optional[bool], end_tokens=None, ) -> List[bytes]: - # If no end_tokens have been given, just assume standard memcached # operations, which end in "\r\n", use regular code for that. _reader: Callable[[socket.socket, bytes], Tuple[bytes, bytes]] @@ -1795,7 +1794,6 @@ def _readsegment( result = bytes() while True: - tokens_pos = buf.find(end_tokens) if tokens_pos != -1: before, after = buf[:tokens_pos], buf[tokens_pos + len(end_tokens) :] |