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

Added common
author Windel Bouwman
date Sat, 02 Mar 2013 09:58:31 +0100
parents
children 8104fc8b5e90
comparison
equal deleted inserted replaced
152:b73bc14a3aa3 153:e05b2b216bfc
1
2 from collections import namedtuple
3
4 SourceLocation = namedtuple('SourceLocation', ['row', 'col'])
5 SourceRange = namedtuple('SourceRange', ['p1', 'p2'])
6