Skip to content

Commit 459f144

Browse files
Apply refurb suggestions
[FURB123]: Replace `str(x)` with `x`
1 parent 3e9d47e commit 459f144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distutils/_collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def bounds(self):
185185
return (sorted_keys[RangeMap.first_item], sorted_keys[RangeMap.last_item])
186186

187187
# some special values for the RangeMap
188-
undefined_value = type(str('RangeValueUndefined'), (), {})()
188+
undefined_value = type('RangeValueUndefined', (), {})()
189189

190190
class Item(int):
191191
"RangeMap Item"

0 commit comments

Comments
 (0)