Stop sub-classing object (#8249)

This commit is contained in:
Patrick Cloke 2020-09-04 06:54:56 -04:00 committed by GitHub
parent 9f8abdcc38
commit c619253db8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
168 changed files with 293 additions and 292 deletions

View file

@ -3,7 +3,7 @@ from typing import Dict
SENTINEL = object()
class TreeCache(object):
class TreeCache:
"""
Tree-based backing store for LruCache. Allows subtrees of data to be deleted
efficiently.
@ -89,7 +89,7 @@ def iterate_tree_cache_entry(d):
yield d
class _Entry(object):
class _Entry:
__slots__ = ["value"]
def __init__(self, value):