@Toby Yes, that's a bug, I think. They would have also also shown up if you just reloaded the page. related to this i think: docs-beta.stackexchange.com/questions/517/…, marked as fixed but apparently not quite fixed
In the Intro to Python documentation, we offer separate examples for Python 2 and 3. Since the Python 3 example runs on both version 2 and 3, I think we should ditch the Python 2 only version of the example.
I know that it isn't quite that straight forward and that print('hello world') gets parsed differently between the Python 2 interpreter and the Python 3 interpreter, but that's such an obscure detail that's unimportant in 99.9999% of cases. Somebody reading the Intro to Python documentation definitely doesn't need to know about such subtle details as the Python 3 interpreter seeing it as a function call while the Python 2 interpreter sees it as a statement with pointless ()
@MSeifert from __future__ import print_function isn't necessary to make print('hello world') work in Python 2. You only need to do that if you want to suppress the line ending or print to a file instead.
is there a lag between posting a question and having the question visible? I can't see my new question in the overview but the direct link works: docs-beta.stackexchange.com/questions/680/…