Force use of keyword args on most constructors
This commit is contained in:
parent
2a8e43cbcd
commit
0e04633f61
9 changed files with 9 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ class Pattern(LockableImpl, AnnotatableImpl, metaclass=AutoSlots):
|
|||
|
||||
def __init__(self,
|
||||
name: str = '',
|
||||
*,
|
||||
shapes: Sequence[Shape] = (),
|
||||
labels: Sequence[Label] = (),
|
||||
subpatterns: Sequence[SubPattern] = (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue