[Lxml-checkins] r51877 - lxml/trunk/src/lxml/html
ianb at codespeak.net
ianb at codespeak.net
Tue Feb 26 21:52:27 CET 2008
Author: ianb
Date: Tue Feb 26 21:52:24 2008
New Revision: 51877
Modified:
lxml/trunk/src/lxml/html/__init__.py
Log:
python 2.4 doctest doesn't like +SKIP (at least I am guessing this is a 2.5 feature); changed the docstring to not look like a doctest
Modified: lxml/trunk/src/lxml/html/__init__.py
==============================================================================
--- lxml/trunk/src/lxml/html/__init__.py (original)
+++ lxml/trunk/src/lxml/html/__init__.py Tue Feb 26 21:52:24 2008
@@ -713,11 +713,11 @@
You can use this like::
- >>> form = doc.forms[0] # doctest: +SKIP
- >>> form.inputs['foo'].value = 'bar' # etc # doctest: +SKIP
- >>> response = form.submit() # doctest: +SKIP
- >>> doc = parse(response) # doctest: +SKIP
- >>> doc.make_links_absolute(response.geturl()) # doctest: +SKIP
+ form = doc.forms[0]
+ form.inputs['foo'].value = 'bar' # etc
+ response = form.submit()
+ doc = parse(response)
+ doc.make_links_absolute(response.geturl())
To change the HTTP requester, pass a function as ``open_http`` keyword
argument that opens the URL for you. The function must have the following
More information about the lxml-checkins
mailing list