Skip to content

Commit

Permalink
stdlib: Remove duplicated Pickler.reducer_override()
Browse files Browse the repository at this point in the history
The declaration was present twice. One from python#3358 with the bulk Python
3.8 support, the other from python#3636 with Pickle protocol 5 support.
  • Loading branch information
moreati committed Feb 22, 2020
1 parent ab36ecb commit 59b6b6f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions stdlib/2and3/pickle.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ class Pickler:
def dump(self, obj: Any) -> None: ...
def clear_memo(self) -> None: ...
def persistent_id(self, obj: Any) -> Any: ...
if sys.version_info >= (3, 8):
def reducer_override(self, obj: Any) -> Any: ...

class Unpickler:
if sys.version_info >= (3, 8):
Expand Down

0 comments on commit 59b6b6f

Please sign in to comment.