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. may reference the same Pattern object.
:var name: An identifier for this object. Not necessarily unique. :var name: An identifier for this object. Not necessarily unique.
""" """
shapes = None # type: List[Shape]
shapes = List[Shape] subpatterns = None # type: List[SubPattern]
subpatterns = List[SubPattern] name = None # type: str
name = str
def __init__(self, def __init__(self,
shapes: List[Shape]=(), shapes: List[Shape]=(),