fix typo when use type hint (#1123)

This commit is contained in:
Manjusaka 2019-11-15 00:51:00 +08:00 committed by Asif Saif Uddin
parent 8276480e24
commit 10d64c38ca
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def fmatch_best(needle, haystack, min_ratio=0.6):
def version_string_as_tuple(s):
# type (str) -> version_info_t
# type: (str) -> version_info_t
"""Convert version string to version info tuple."""
v = _unpack_version(*s.split('.'))
# X.Y.3a1 -> (X, Y, 3, 'a1')