8000 Clean up SemanticAnalyzer.__init__(). · python/mypy@a09a5e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit a09a5e0

Browse files
author
Guido van Rossum
committed
Clean up SemanticAnalyzer.__init__().
1 parent 350afbb commit a09a5e0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mypy/semanal.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,11 @@ class SemanticAnalyzer(NodeVisitor):
190190
imports = None # type: Set[str] # Imported modules (during phase 2 analysis)
191191
errors = None # type: Errors # Keeps track of generated errors
192192

193-
def __init__(self, lib_path: List[str], errors: Errors,
194-
pyversion: Tuple[int, int] = defaults.PYTHON3_VERSION,
195-
check_untyped_defs: bool = False) -> None:
193+
def __init__(self,
194+
lib_path: List[str],
195+
errors: Errors,
196+
pyversion: Tuple[int, int],
197+
check_untyped_defs: bool) -> None:
196198
"""Construct semantic analyzer.
197199
198200
Use lib_path to search for modules, and report analysis errors

0 commit comments

Comments
 (0)
0