Skip to content

Commit

Permalink
Minor type fix
Browse files Browse the repository at this point in the history
Fix type of argument `module` in `load_module` in `dill/session.py`
  • Loading branch information
victorcwai committed Aug 6, 2022
1 parent 87b8541 commit f196e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dill/session.py
Expand Up @@ -308,7 +308,7 @@ def _identify_module(file, main=None):

def load_module(
filename = str(TEMPDIR/'session.pkl'),
module: Union[ModuleType, str] = None,
module: Optional[Union[ModuleType, str]] = None,
**kwds
) -> Optional[ModuleType]:
"""Update the selected module (default is :py:mod:`__main__`) with
Expand Down

0 comments on commit f196e3c

Please sign in to comment.