s/ICap/IBaseCap and add constants
This commit is contained in:
parent
09d283052b
commit
45ffb0fe7d
11 changed files with 49 additions and 27 deletions
|
|
@ -16,7 +16,7 @@
|
|||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
|
||||
from .cap import ICap
|
||||
from .base import IBaseCap
|
||||
|
||||
|
||||
__all__ = ['City', 'CityNotFound', 'Current', 'Forecast', 'ICapWeather']
|
||||
|
|
@ -49,7 +49,7 @@ class CityNotFound(Exception):
|
|||
pass
|
||||
|
||||
|
||||
class ICapWeather(ICap):
|
||||
class ICapWeather(IBaseCap):
|
||||
def iter_city_search(self, pattern):
|
||||
raise NotImplementedError()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue