Kaydet (Commit) db50ba7c authored tarafından Barry Warsaw's avatar Barry Warsaw Kaydeden (comit) GitHub

Trivial readability improvement (#3791)

üst 5837d041
......@@ -289,7 +289,7 @@ def _compile(pattern, flags):
if not (flags & DEBUG):
if len(_cache) >= _MAXCACHE:
try:
_cache.popitem(False)
_cache.popitem(last=False)
except KeyError:
pass
_cache[type(pattern), pattern, flags] = p
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment