python / cpython

The Python programming language
https://www.python.org
Other
62.56k stars 30.02k forks source link

couple of code examples not highlighted in "What's new in Python 3" #60288

Closed 918f67d7-4fec-4a8d-93e3-6530aeb1e57e closed 12 years ago

918f67d7-4fec-4a8d-93e3-6530aeb1e57e commented 12 years ago
BPO 16084
Nosy @cjerdonek
Superseder
  • bpo-14503: docs: "yield from" breaks Pygments syntax coloring in doc examples
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields: ```python assignee = 'https://github.com/cjerdonek' closed_at = created_at = labels = ['docs'] title = 'couple of code examples not highlighted in "What\'s new in Python 3"' updated_at = user = 'https://bugs.python.org/RamchandraApte' ``` bugs.python.org fields: ```python activity = actor = 'chris.jerdonek' assignee = 'chris.jerdonek' closed = True closed_date = closer = 'mark.dickinson' components = ['Documentation'] creation = creator = 'Ramchandra Apte' dependencies = [] files = [] hgrepos = [] issue_num = 16084 keywords = [] message_count = 4.0 messages = ['171570', '171581', '171606', '171608'] nosy_count = 3.0 nosy_names = ['chris.jerdonek', 'docs@python', 'Ramchandra Apte'] pr_nums = [] priority = 'normal' resolution = 'duplicate' stage = 'resolved' status = 'closed' superseder = '14503' type = None url = 'https://bugs.python.org/issue16084' versions = ['Python 3.3'] ```

    918f67d7-4fec-4a8d-93e3-6530aeb1e57e commented 12 years ago

    A couple of code examples are not highlighted in http://docs.python.org/py3k/whatsnew/3.3.html#pep-380-syntax-for-delegating-to-a-subgenerator

    They should be highlighted with Python highlighting.

    cjerdonek commented 12 years ago

    Thanks for the report. Closing though as this is a duplicate.

    918f67d7-4fec-4a8d-93e3-6530aeb1e57e commented 12 years ago

    LOL the duplicate is my bug ;-)

    cjerdonek commented 12 years ago

    Yes, I noticed that later, too. :)