summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-11-06 14:35:15 (GMT)
committerBarry Warsaw <barry@python.org>1997-11-06 14:35:15 (GMT)
commitb8f11669225ed5d01bf6a0acbf968487cb9501c5 (patch)
tree1393ff489d91d5ada70010f6191c4fc93f303dec /Lib/os.py
parentef3c891773c129273fa9f39d96993d37c8b56c86 (diff)
downloadcpython-b8f11669225ed5d01bf6a0acbf968487cb9501c5.zip
cpython-b8f11669225ed5d01bf6a0acbf968487cb9501c5.tar.gz
cpython-b8f11669225ed5d01bf6a0acbf968487cb9501c5.tar.bz2
(python-font-lock-keywords): Pick up block introducing keywords with
immediately following colons. Sjoerd noticed this one too. Here's a nonsense.py file that flexes all the font-lock keyword combinations. class A: class B(A): pass def __init__(self): if i == 2 and j == 3 or k == 4: import stuff from otherstuff import cool for i in range(cool.count): if i == j: break elif j == 1: continue print i else: return not i elif q is not i: return lambda x: x + 1 else: try: try: raise stuff.error except stuff.error, v: print v except: global q finally: while q > 0: q = q - 1 assert q == 0 def make(): a = A() exec "nonsense" del a
Diffstat (limited to 'Lib/os.py')
0 files changed, 0 insertions, 0 deletions