|
|
1 |
|
|
|
2 |
|
|
|
3 |
^'Kc @ s d Z d d k Te i Z d S( sY Expose some modules in this package. |
|
|
4 |
|
|
|
5 |
Before transitfeed version 1.2.4 all our library code was distributed in a |
|
|
6 |
one file module, transitfeed.py, and could be used as |
|
|
7 |
|
|
|
8 |
import transitfeed |
|
|
9 |
schedule = transitfeed.Schedule() |
|
|
10 |
|
|
|
11 |
At that time the module (one file, transitfeed.py) was converted into a |
|
|
12 |
package (a directory named transitfeed containing __init__.py and multiple .py |
|
|
13 |
files). Classes and attributes exposed by the old module may still be imported |
|
|
14 |
in the same way. Indeed, code that depends on the library <em>should</em> |
|
|
15 |
continue to use import commands such as the above and ignore _transitfeed. |
|
|
16 |
|
|
|
17 |
|