commit | author | age | ||
ff1213 | 1 | class NotAnException(object): |
CM | 2 | pass |
0c29cf | 3 | |
ff1213 | 4 | |
CM | 5 | class AnException(Exception): |
6 | pass | |
7 | ||
0c29cf | 8 | |
ff1213 | 9 | class RouteContext(object): |
CM | 10 | pass |
0c29cf | 11 | |
ff1213 | 12 | |
CM | 13 | class RouteContext2(object): |
14 | pass | |
15 | ||
0c29cf | 16 | |
ff1213 | 17 | def route_factory(*arg): |
CM | 18 | return RouteContext() |
19 | ||
0c29cf | 20 | |
ff1213 | 21 | def route_factory2(*arg): |
CM | 22 | return RouteContext2() |