From 10d64c38ca041d22f034c6fa4fd317f99daaa512 Mon Sep 17 00:00:00 2001 From: Manjusaka Date: Fri, 15 Nov 2019 00:51:00 +0800 Subject: [PATCH] fix typo when use type hint (#1123) --- kombu/utils/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kombu/utils/text.py b/kombu/utils/text.py index 5eb3705b..bfaec1ee 100644 --- a/kombu/utils/text.py +++ b/kombu/utils/text.py @@ -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')