Skip to content

Commit f7b78b2

Browse files
committed
-
1 parent c37d920 commit f7b78b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python_toolbox/combi/perming/perm_space.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,8 @@ def __repr__(self):
523523
sequence_repr,
524524
(f', n_elements={self.n_elements}') if self.is_partial else '',
525525
', is_combination=True' if self.is_combination else '',
526-
(f', fixed_map={fixed_map_repr}' if self.is_fixed else '',
527-
(f', degrees={self.degrees}') if self.is_degreed else '',
526+
f', fixed_map={fixed_map_repr}' if self.is_fixed else '',
527+
f', degrees={self.degrees}' if self.is_degreed else '',
528528
(f', perm_type={self.perm_type.__name__}') if self.is_typed
529529
else '',
530530
('[%s:%s]' % (self.slice_.start, self.slice_.stop)) if

python_toolbox/misc_tools/proxy_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ def __repr__(self):
7979
return '<%s: %s%s>' % (
8080
type(self).__name__,
8181
repr(f'.{self.attribute_name}'),
82-
f', doc={repr(self.__doc__) if self.__doc__ else ""}'
82+
f', doc={repr(self.__doc__)}' if self.__doc__ else ''
8383
)

0 commit comments

Comments
 (0)