diff options
| author | scoder <none@none> | 2008-07-12 22:50:19 +0200 |
|---|---|---|
| committer | scoder <none@none> | 2008-07-12 22:50:19 +0200 |
| commit | 80c77589abc445d259de381de3c92f4cec3b3ba3 (patch) | |
| tree | f3649a9781d672c2a62ee37219ba95d7a52bff23 /doc/tutorial.txt | |
| parent | 499194e97d84f7d1e261237bda9eadd201fd4287 (diff) | |
| download | python-lxml-80c77589abc445d259de381de3c92f4cec3b3ba3.tar.gz | |
[svn r3896] r4629@delle: sbehnel | 2008-07-12 22:47:57 +0200
tutorial: mention that lxml's ET.write() method can PUT/POST to FTP/HTTP URLs
--HG--
branch : trunk
Diffstat (limited to 'doc/tutorial.txt')
| -rw-r--r-- | doc/tutorial.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/tutorial.txt b/doc/tutorial.txt index 3f7ba305..492ad11f 100644 --- a/doc/tutorial.txt +++ b/doc/tutorial.txt @@ -531,10 +531,11 @@ Serialisation ------------- Serialisation commonly uses the ``tostring()`` function that returns a -string, or the ``ElementTree.write()`` method that writes to a file or -file-like object. Both accept the same keyword arguments like -``pretty_print`` for formatted output or ``encoding`` to select a -specific output encoding other than plain ASCII: +string, or the ``ElementTree.write()`` method that writes to a file, a +file-like object, or a URL (via FTP PUT or HTTP POST). Both calls accept +the same keyword arguments like ``pretty_print`` for formatted output +or ``encoding`` to select a specific output encoding other than plain +ASCII: .. sourcecode:: pycon |
