From 02c3d300e08985bed88386bdf9b82bc274fff695 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 18 May 2019 15:05:38 -0700 Subject: [PATCH] Wrap long lines (cosmetic) --- masque/pattern.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/masque/pattern.py b/masque/pattern.py index 7b39d97..801964e 100644 --- a/masque/pattern.py +++ b/masque/pattern.py @@ -548,8 +548,8 @@ class Pattern: def copy(self) -> 'Pattern': """ - Return a copy of the Pattern, deep-copying shapes and copying subpattern entries, but not - deep-copying any referenced patterns. + Return a copy of the Pattern, deep-copying shapes and copying subpattern + entries, but not deep-copying any referenced patterns. See also: Pattern.deepcopy() @@ -575,7 +575,9 @@ class Pattern: :return: True if the pattern is empty. """ - return (len(self.subpatterns) == 0 and len(self.shapes) == 0 and len(self.labels) == 0) + return (len(self.subpatterns) == 0 and + len(self.shapes) == 0 and + len(self.labels) == 0) @staticmethod def load(filename: str) -> 'Pattern':