Force use of keyword args on most constructors

This commit is contained in:
Jan Petykiewicz 2020-09-10 20:37:19 -07:00
commit 0e04633f61
9 changed files with 9 additions and 0 deletions

View file

@ -50,6 +50,7 @@ class Pattern(LockableImpl, AnnotatableImpl, metaclass=AutoSlots):
def __init__(self,
name: str = '',
*,
shapes: Sequence[Shape] = (),
labels: Sequence[Label] = (),
subpatterns: Sequence[SubPattern] = (),