Clean up type info

lethe/HEAD
jan 7 years ago
parent ccfd0f7f4f
commit 934bfcd74e

@ -31,10 +31,9 @@ class Pattern:
may reference the same Pattern object.
:var name: An identifier for this object. Not necessarily unique.
"""
shapes = List[Shape]
subpatterns = List[SubPattern]
name = str
shapes = None # type: List[Shape]
subpatterns = None # type: List[SubPattern]
name = None # type: str
def __init__(self,
shapes: List[Shape]=(),

Loading…
Cancel
Save