[New-bugs-announce] [issue10172] code block has no syntax coloring

Winston C. Yang report at bugs.python.org
Fri Oct 22 15:38:05 CEST 2010


New submission from Winston C. Yang <winston at cs.wisc.edu>:

The following code block in http://docs.python.org/tutorial/errors.html has no syntax coloring:

import sys

try:
    f = open('myfile.txt')
    s = f.readline()
    i = int(s.strip())
except IOError as (errno, strerror):
    print "I/O error({0}): {1}".format(errno, strerror)
except ValueError:
    print "Could not convert data to an integer."
except:
    print "Unexpected error:", sys.exc_info()[0]
    raise

----------
assignee: docs at python
components: Documentation
messages: 119382
nosy: docs at python, wcyang
priority: normal
severity: normal
status: open
title: code block has no syntax coloring
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10172>
_______________________________________


More information about the New-bugs-announce mailing list