summaryrefslogtreecommitdiff
path: root/doc/data/messages/t/too-many-return-statements/good.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/t/too-many-return-statements/good.py')
-rw-r--r--doc/data/messages/t/too-many-return-statements/good.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/data/messages/t/too-many-return-statements/good.py b/doc/data/messages/t/too-many-return-statements/good.py
index 0c4032f53..80ae2ac19 100644
--- a/doc/data/messages/t/too-many-return-statements/good.py
+++ b/doc/data/messages/t/too-many-return-statements/good.py
@@ -1,13 +1,13 @@
NUMBERS_TO_STRINGS = {
- 1: 'one',
- 2: 'two',
- 3: 'three',
- 4: 'four',
- 5: 'five',
- 6: 'six',
- 7: 'seven'
+ 1: "one",
+ 2: "two",
+ 3: "three",
+ 4: "four",
+ 5: "five",
+ 6: "six",
+ 7: "seven",
}
def to_string(x):
- return f'This is {NUMBERS_TO_STRINGS.get(x)}.'
+ return f"This is {NUMBERS_TO_STRINGS.get(x)}."