File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments