Show More
1 | NO CONTENT: modified file chmod 100644 => 100755 |
|
NO CONTENT: modified file chmod 100644 => 100755 |
@@ -36,6 +36,8 b' class Quitter(object):' | |||||
36 |
|
36 | |||
37 | def __call__(self): |
|
37 | def __call__(self): | |
38 | self.shell.ask_exit() |
|
38 | self.shell.ask_exit() | |
39 | return 'Bye.' |
|
|||
40 |
|
39 | |||
41 | __repr__ = __call__ |
|
40 | # Repr MUST return a string, else display like pprint hooks get confused | |
|
41 | def __repr__(self): | |||
|
42 | self.shell.ask_exit() | |||
|
43 | return 'Bye.' |
General Comments 0
You need to be logged in to leave comments.
Login now