We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c40dd2 + 20811df commit 20c2bb6Copy full SHA for 20c2bb6
python2/koans/about_methods.py
@@ -13,7 +13,7 @@ def my_global_function(a, b):
13
14
15
class AboutMethods(Koan):
16
- def test_calling_an_global_function(self):
+ def test_calling_a_global_function(self):
17
self.assertEqual(__, my_global_function(2, 3))
18
19
# NOTE: Wrong number of arguments is not a SYNTAX error, but a
@@ -113,8 +113,7 @@ def test_pass_does_nothing_at_all(self):
113
114
# ------------------------------------------------------------------
115
116
- def one_line_method(self):
117
- return 'Madagascar'
+ def one_line_method(self): return 'Madagascar'
118
119
def test_no_indentation_required_for_one_line_statement_bodies(self):
120
self.assertEqual(__, self.one_line_method())
0 commit comments