mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-08 10:51:23 +08:00
Fix typo
keyworda → keyword
This commit is contained in:
@@ -73,7 +73,7 @@ class Grammar(object):
|
|||||||
:py:class:`parso.python.tree.Module`.
|
:py:class:`parso.python.tree.Module`.
|
||||||
"""
|
"""
|
||||||
if 'start_pos' in kwargs:
|
if 'start_pos' in kwargs:
|
||||||
raise TypeError("parse() got an unexpected keyworda argument.")
|
raise TypeError("parse() got an unexpected keyword argument.")
|
||||||
return self._parse(code=code, **kwargs)
|
return self._parse(code=code, **kwargs)
|
||||||
|
|
||||||
def _parse(self, code=None, error_recovery=True, path=None,
|
def _parse(self, code=None, error_recovery=True, path=None,
|
||||||
|
|||||||
Reference in New Issue
Block a user