mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-19 05:24:13 +08:00
Fix failing test: args for ModuleWithCursor
This commit is contained in:
@@ -92,7 +92,7 @@ class ModuleWithCursor(Module):
|
|||||||
:param position: The position, the user is currently in. Only important \
|
:param position: The position, the user is currently in. Only important \
|
||||||
for the main file.
|
for the main file.
|
||||||
"""
|
"""
|
||||||
def __init__(self, path, source, position, fast):
|
def __init__(self, path, source, position, fast=True):
|
||||||
super(ModuleWithCursor, self).__init__(path, source)
|
super(ModuleWithCursor, self).__init__(path, source)
|
||||||
self._parserclass = fast_parser.FastParser if fast else \
|
self._parserclass = fast_parser.FastParser if fast else \
|
||||||
parsing.Parser
|
parsing.Parser
|
||||||
|
|||||||
Reference in New Issue
Block a user