File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -144,17 +144,15 @@ def _default_thing_input(
144144 exists = current_value is not None
145145
146146 idx_offset = int (exists ) + 1
147- calculate_padding = partial (
148- _calculate_padding , total = len (things ) + idx_offset
149- )
147+ pad = partial (_calculate_padding , total = len (things ) + idx_offset )
150148
151149 # If there is a current value, users should have the option to clear it
152150 if exists :
153- print (f"{ calculate_padding (1 )} 1 - No Default" )
151+ print (f"{ pad (1 )} 1 - No Default" )
154152
155153 for ind , thing in enumerate (things ):
156154 effective_ind = ind + idx_offset
157- print (f"{ calculate_padding (effective_ind )} { effective_ind } - { thing } " )
155+ print (f"{ pad (effective_ind )} { effective_ind } - { thing } " )
158156 print ()
159157
160158 while True :
You can’t perform that action at this time.
0 commit comments