[weboob] [PATCH 1/1] code example: use HTMLPage instead of Page

Pierre-Louis Bonicoli pierre-louis.bonicoli at gmx.fr
Mon Jul 20 16:00:31 CEST 2015


Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli at gmx.fr>
---
 weboob/browser/browsers.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/weboob/browser/browsers.py b/weboob/browser/browsers.py
index 36634b5..52d4949 100644
--- a/weboob/browser/browsers.py
+++ b/weboob/browser/browsers.py
@@ -613,11 +613,11 @@ class PagesBrowser(DomainBrowser):
 
     Example:
 
-    >>> from .pages import Page
-    >>> class HomePage(Page):
+    >>> from .pages import HTMLPage
+    >>> class HomePage(HTMLPage):
     ...     pass
     ...
-    >>> class ListPage(Page):
+    >>> class ListPage(HTMLPage):
     ...     pass
     ...
     >>> class MyBrowser(PagesBrowser):
-- 
2.1.4



More information about the weboob mailing list