Skip to content

Commit

Permalink
Remove __reduce__ as it was only needed because of __new__.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Mar 9, 2020
1 parent 14e3883 commit 4a47539
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tblib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ def __init__(self, code):
self.co_flags = 64
self.co_firstlineno = 0

def __reduce__(self):
return Code, (_AttrDict(self.__dict__),)

# noinspection SpellCheckingInspection
def __tproxy__(self, operation, *args, **kwargs):
"""
Expand Down

0 comments on commit 4a47539

Please sign in to comment.