Clean up type info

This commit is contained in:
jan 2017-09-06 01:14:27 -07:00
parent ccfd0f7f4f
commit 934bfcd74e

View File

@ -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]=(),