Skip to content

Commit 0fadbed

Browse files
committed
sys.stdout is not a callable object.
1 parent 9b5f02e commit 0fadbed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,4 @@ def example19():
209209
try:
210210
for example in examples: example()
211211
except KeyboardInterrupt:
212-
sys.stdout('\nQuitting examples.\n')
212+
sys.stdout.write('\nQuitting examples.\n')

0 commit comments

Comments
 (0)