These attributes aren't optional

They just don't yet have a value.
This commit is contained in:
Peter Law committed 2020-07-26 12:11:34 +01:00
1 parent 86e0e16625
commit 0571e12617
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ def _merge_name_docs(names):
class AbstractNameDefinition(object):
start_pos: Optional[Tuple[int, int]] = None
string_name: Optional[str] = None
string_name: str
parent_context = None
tree_name = None
is_value_name = True