Permalink
Browse files

Fix quickrefs

  • Loading branch information...
1 parent 09da324 commit 6225ae8c7180d52ffa28348b360aa7effa816ca4 @ericflo committed May 11, 2009
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.rst
View
@@ -17,7 +17,7 @@ A Note on Installing lxml
-------------------------
While lxml is not a requirement, I have had a hard time installing lxml in the
-past. I have found this set of commands to work perfectly:
+past. I have found this set of commands to work perfectly::
STATIC_DEPS=true easy_install 'lxml>=2.2beta4'
STATIC_DEPS=true sudo easy_install 'lxml>=2.2beta4'
@@ -51,18 +51,18 @@ Using the NZB Parser
====================
If you're using a specific parser, like the ``ETreeNZBParser``, you will first
-have to instantiate it:
+have to instantiate it::
nzb_parser = ETreeNZBParser()
-Otherwise, you can just import the default parser for your system:
+Otherwise, you can just import the default parser for your system::
from pynzb import nzb_parser
Then, simply call the ``parse`` method, giving it the xml string as the only
-argument:
+argument::
files = nzb_parser.parse('<?xml ... my nzb file here ... </nzb>')
@@ -115,7 +115,7 @@ Example
--------
In this example, we will grab an Ubuntu NZB and parse the file, printing out
-some information about each file and its segments.
+some information about each file and its segments::
from pynzb import nzb_parser
from urllib2 import urlopen

0 comments on commit 6225ae8

Please sign in to comment.