s/ICap/IBaseCap and add constants

This commit is contained in:
Christophe Benz 2010-08-10 18:05:26 +02:00
commit 45ffb0fe7d
11 changed files with 49 additions and 27 deletions

View file

@ -18,13 +18,13 @@
from datetime import time
from .cap import ICap
from .base import IBaseCap
__all__ = ['Departure', 'ICapTravel', 'Station']
class ICapTravel(ICap):
class ICapTravel(IBaseCap):
def iter_station_search(self, pattern):
"""
Iterates on search results of stations.