[Lxml-checkins] r54072 - in lxml/trunk: . doc

scoder at codespeak.net scoder at codespeak.net
Thu Apr 24 00:46:43 CEST 2008


Author: scoder
Date: Thu Apr 24 00:46:41 2008
New Revision: 54072

Modified:
   lxml/trunk/   (props changed)
   lxml/trunk/doc/capi.txt
   lxml/trunk/doc/tutorial.txt
Log:
 r4041 at delle:  sbehnel | 2008-04-23 20:59:38 +0200
 doc fixes


Modified: lxml/trunk/doc/capi.txt
==============================================================================
--- lxml/trunk/doc/capi.txt	(original)
+++ lxml/trunk/doc/capi.txt	Thu Apr 24 00:46:41 2008
@@ -87,11 +87,8 @@
     #include "etree.h"
 
     /* setup code */
-    static PyObject* m_etree;
-    m_etree = _ADD_YOUR_WAY_TO_IMPORT_A_MODULE_("lxml.etree");
+    import_lxml__etree()
 
-    import_etree(m_etree);
-
-Note that including ``etree.h`` does not automatically include the header
-files it requires.  Note also that the above list of common imports may not be
-sufficient.
+Note that including ``etree.h`` does not automatically include the
+header files it requires.  Note also that the above list of common
+includes may not be sufficient.

Modified: lxml/trunk/doc/tutorial.txt
==============================================================================
--- lxml/trunk/doc/tutorial.txt	(original)
+++ lxml/trunk/doc/tutorial.txt	Thu Apr 24 00:46:41 2008
@@ -1,6 +1,10 @@
 =======================
 The lxml.etree Tutorial
 =======================
+ 
+.. meta::
+  :description: The lxml tutorial on XML that feels like Python
+  :keywords: lxml, etree, tutorial, ElementTree, Python, XML, HTML
 
 :Author:
   Stefan Behnel


More information about the lxml-checkins mailing list