Lines 1-6
Link Here
|
1 |
#!/usr/bin/env python |
1 |
#!/usr/bin/env python |
2 |
# $Id: NameMapper.py,v 1.28 2005/01/03 19:05:49 tavis_rudd Exp $ |
2 |
# $Id: NameMapper.py,v 1.28 2005/01/03 19:05:49 tavis_rudd Exp $ |
3 |
|
3 |
|
|
|
4 |
from __future__ import generators |
5 |
import types |
6 |
from types import StringType, InstanceType, ClassType, TypeType |
7 |
from pprint import pformat |
8 |
import inspect |
9 |
|
4 |
"""This module supports Cheetah's optional NameMapper syntax. |
10 |
"""This module supports Cheetah's optional NameMapper syntax. |
5 |
|
11 |
|
6 |
Overview |
12 |
Overview |
Lines 143-154
Link Here
|
143 |
"\nChuck Esterbrook <echuck@mindspring.com>" |
149 |
"\nChuck Esterbrook <echuck@mindspring.com>" |
144 |
__revision__ = "$Revision: 1.28 $"[11:-2] |
150 |
__revision__ = "$Revision: 1.28 $"[11:-2] |
145 |
|
151 |
|
146 |
from __future__ import generators |
|
|
147 |
import types |
148 |
from types import StringType, InstanceType, ClassType, TypeType |
149 |
from pprint import pformat |
150 |
import inspect |
151 |
|
152 |
_INCLUDE_NAMESPACE_REPR_IN_NOTFOUND_EXCEPTIONS = False |
152 |
_INCLUDE_NAMESPACE_REPR_IN_NOTFOUND_EXCEPTIONS = False |
153 |
_ALLOW_WRAPPING_OF_NOTFOUND_EXCEPTIONS = True |
153 |
_ALLOW_WRAPPING_OF_NOTFOUND_EXCEPTIONS = True |
154 |
__all__ = ['NotFound', |
154 |
__all__ = ['NotFound', |