Skip to content

Commit

Permalink
more clearly note cpython bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckerns committed Jul 26, 2022
1 parent ee740ab commit a9ec103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dill/_dill.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ def _create_ftype(ftypeobj, func, args, kwds):
args = ()
return ftypeobj(func, *args, **kwds)

def _create_typing_tuple(argz, *args): #NOTE: workaround python bug
def _create_typing_tuple(argz, *args): #NOTE: workaround python/cpython#94245
if not argz:
return typing.Tuple[()].copy_with(())
if argz == ((),):
Expand Down

0 comments on commit a9ec103

Please sign in to comment.