view python/ppci/common.py @ 153:e05b2b216bfc

Added common
author Windel Bouwman
date Sat, 02 Mar 2013 09:58:31 +0100
parents
children 8104fc8b5e90
line wrap: on
line source


from collections import namedtuple

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