Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 45ca74b

Browse files
ch15 - add back needed {} order ids to func str
1 parent e1f8ffe commit 45ca74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ch15/lawnmowerTests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def execute(self, mower, field):
305305
op.execute(mower, field)
306306

307307
def __str__(self):
308-
return "func{}: {}".format(
308+
return "func{1}: {0}".format(
309309
' '.join(map(str, self.Ops)),
310310
self.Id if self.Id is not None else '')
311311

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /