From 28084dfe456ca37fb80ba15eaa2c20f889a172dc Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Fri, 17 May 2019 00:42:55 -0700 Subject: [PATCH] Make name the first argument to Pattern() init Major incompatibility with previous versions!! --- masque/pattern.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/masque/pattern.py b/masque/pattern.py index 785b6d4..e47be49 100644 --- a/masque/pattern.py +++ b/masque/pattern.py @@ -40,10 +40,10 @@ class Pattern: name: str def __init__(self, - shapes: List[Shape]=(), - labels: List[Label]=(), - subpatterns: List[SubPattern]=(), - name: str='', + name: str = '', + shapes: List[Shape] = (), + labels: List[Label] = (), + subpatterns: List[SubPattern] = (), ): """ Basic init; arguments get assigned to member variables.