SilentGhost added the comment:

Erwin, you could clearly see in the screenshot that the print call is indented, 
i.e. it starts in the 5th column, under letter "h" of the_world_is_flat. In 
what you've typed here one can clearly see that "p" of print is under "i" of if 
(the 1st column) and is therefore not indented. Indentation is an important 
part of Python syntax.

To properly copy this example from documentation into interpreter you could 
click on button in the top right corner of the code block - it's cut off in 
your screenshot, but it looks like a python prompt (>>>).

----------
nosy: +SilentGhost
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26594>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to