Skip to content

Commit 14993d0

Browse files
committed
Add one more docstring
1 parent ad621ef commit 14993d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

uncompyle6/scanner.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,10 @@ def setTokenClass(self, tokenClass: Token) -> Token:
605605

606606

607607
def get_scanner(version: Union[str, tuple], is_pypy=False, show_asm=None) -> Scanner:
608+
"""
609+
Import the right scanner module for ``version`` and return the Scanner class
610+
in that module.
611+
"""
608612
# If version is a string, turn that into the corresponding float.
609613
if isinstance(version, str):
610614
if version not in canonic_python_version:

0 commit comments

Comments
 (0)