[issue16020] Missing >>> in Python code example

2012-09-24 Thread Ezio Melotti
Ezio Melotti added the comment: The code didn't have any output, so I created a separate code block with regular Python highlight -- no need to add >>>/... there. -- ___ Python tracker

[issue16020] Missing >>> in Python code example

2012-09-24 Thread Ramchandra Apte
Ramchandra Apte added the comment: This issue still does not appear to be fixed - looking at http://hg.python.org/cpython/file/101354f95a07/Doc/tutorial/stdlib2.rst . And sorry, the URL should be http://docs.python.org/py3k/tutorial/stdlib2.html#tools-for-working-with-lists. -- _

[issue16020] Missing >>> in Python code example

2012-09-24 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for the report. Minor clarification for future reference. Subsequent lines should begin with "..." (when doctest-style is used): >>> def breadth_first_search(unsearched): ... node = unsearched.popleft() etc. -- nosy: +chris.jerdonek _

[issue16020] Missing >>> in Python code example

2012-09-24 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement versions: +Python 2.7, Python 3.2, Python 3.3 _

[issue16020] Missing >>> in Python code example

2012-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ce943bce76c9 by Ezio Melotti in branch '2.7': #16019, #16020: fix syntax highlight. http://hg.python.org/cpython/rev/ce943bce76c9 New changeset 101354f95a07 by Ezio Melotti in branch '3.2': #16019, #16020: fix syntax highlight. http://hg.python.org/

[issue16020] Missing >>> in Python code example

2012-09-24 Thread Ramchandra Apte
New submission from Ramchandra Apte: In http://docs.python.org/py3k/tutorial/stdlib2.html#logging , some code in a code sample is missing ">>>". The code is: unsearched = deque([starting_node]) def breadth_first_search(unsearched): node = unsearched.popleft() for m in gen_moves(node):