You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Add one more docstring
This commit is contained in:
@@ -605,6 +605,10 @@ class Scanner(ABC):
|
|||||||
|
|
||||||
|
|
||||||
def get_scanner(version: Union[str, tuple], is_pypy=False, show_asm=None) -> Scanner:
|
def get_scanner(version: Union[str, tuple], is_pypy=False, show_asm=None) -> Scanner:
|
||||||
|
"""
|
||||||
|
Import the right scanner module for ``version`` and return the Scanner class
|
||||||
|
in that module.
|
||||||
|
"""
|
||||||
# If version is a string, turn that into the corresponding float.
|
# If version is a string, turn that into the corresponding float.
|
||||||
if isinstance(version, str):
|
if isinstance(version, str):
|
||||||
if version not in canonic_python_version:
|
if version not in canonic_python_version:
|
||||||
|
Reference in New Issue
Block a user