Skip to content

Commit

Permalink
Remove GenericAlias reference
Browse files Browse the repository at this point in the history
Type GenericAlias is not defined in 3.7, so best leave it out, as it
brings in quite a lot.
  • Loading branch information
icanhasmath committed Sep 29, 2023
1 parent 4040dc9 commit 735dbcc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Lib/tempfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,5 +843,3 @@ def __exit__(self, exc, value, tb):
def cleanup(self):
if self._finalizer.detach() or _os.path.exists(self.name):
self._rmtree(self.name, ignore_errors=self._ignore_cleanup_errors)

__class_getitem__ = classmethod(_types.GenericAlias)

0 comments on commit 735dbcc

Please sign in to comment.