summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-11-20 19:59:31 +0100
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-12-28 14:09:03 +0100
commit459f1448604bf0cd59f2a4132aee84f9be6f9b12 (patch)
treed33bbdaaabdbcc17d084d1410250ae6874503e60
parent3e9d47e0f631a92cc0251ac212a14cad9570f76b (diff)
downloadpython-setuptools-git-459f1448604bf0cd59f2a4132aee84f9be6f9b12.tar.gz
Apply refurb suggestions
[FURB123]: Replace `str(x)` with `x`
-rw-r--r--distutils/_collections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils/_collections.py b/distutils/_collections.py
index 02556614..5ad21cc7 100644
--- a/distutils/_collections.py
+++ b/distutils/_collections.py
@@ -185,7 +185,7 @@ class RangeMap(dict):
return (sorted_keys[RangeMap.first_item], sorted_keys[RangeMap.last_item])
# some special values for the RangeMap
- undefined_value = type(str('RangeValueUndefined'), (), {})()
+ undefined_value = type('RangeValueUndefined', (), {})()
class Item(int):
"RangeMap Item"