enable annotations=None by default

This commit is contained in:
Jan Petykiewicz 2026-04-02 15:56:42 -07:00
commit b6ee0d4929
4 changed files with 45 additions and 3 deletions

View file

@ -66,7 +66,7 @@ class Label(PositionableImpl, RepeatableImpl, AnnotatableImpl, Bounded, Pivotabl
new._string = string
new._offset = offset
new._repetition = repetition
new._annotations = annotations if annotations is not None else {}
new._annotations = annotations
return new
def __copy__(self) -> Self: