Skip to content

Commit 9a8d291

Browse files
fixed readme exmple indentation of function to make it a member of the FirstApp so when copied will work as intended.
1 parent 666b216 commit 9a8d291

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ import cmd2
127127
class FirstApp(cmd2.Cmd):
128128
"""A simple cmd2 application."""
129129

130-
131-
def do_hello_world(self, _: cmd2.Statement):
132-
self.poutput('Hello World')
130+
def do_hello_world(self, _: cmd2.Statement):
131+
self.poutput('Hello World')
133132

134133

135134
if __name__ == '__main__':

0 commit comments

Comments
 (0)