view python/ppci/common.py @ 161:956f8e5ee48a

Improvements to code edit
author Windel Bouwman
date Sat, 09 Mar 2013 15:52:55 +0100
parents e05b2b216bfc
children 8104fc8b5e90
line wrap: on
line source


from collections import namedtuple

SourceLocation = namedtuple('SourceLocation', ['row', 'col'])
SourceRange = namedtuple('SourceRange', ['p1', 'p2'])