summaryrefslogtreecommitdiff
path: root/astroid/as_string.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/as_string.py')
-rw-r--r--astroid/as_string.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/as_string.py b/astroid/as_string.py
index 9665a1b2..d081e725 100644
--- a/astroid/as_string.py
+++ b/astroid/as_string.py
@@ -317,7 +317,7 @@ class AsStringVisitor:
# Try to find surrounding quotes that don't appear at all in the string.
# Because the formatted values inside {} can't contain backslash (\)
# using a triple quote is sometimes necessary
- for quote in ["'", '"', '"""', "'''"]:
+ for quote in ("'", '"', '"""', "'''"):
if quote not in string:
break