Skip to content

Commit c8eb65f

Browse files
author
Sylvain MARIE
committed
Fixed python 2 compliance
1 parent 3050afe commit c8eb65f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

valid8/entry_points_annotations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,8 @@ def decorate_with_validation(func, # type: DecoratedFunc
702702

703703
def _get_final_none_policy_for_validator(is_nonable, # type: bool
704704
none_policy # type: NoneArgPolicy
705-
) -> NoneArgPolicy:
705+
):
706+
# type: (...) -> NoneArgPolicy
706707
"""
707708
Depending on none_policy and of the fact that the target parameter is nonable or not, returns a corresponding
708709
NonePolicy

0 commit comments

Comments
 (0)