doc patch

This commit is contained in:
Kyle Maxwell 2009-04-01 18:32:11 -07:00
parent 6db8b61e4c
commit 7abfd68dfb
1 changed files with 15 additions and 0 deletions

15
README
View File

@ -18,6 +18,21 @@ sudo python setup.py install
from pyparsley import PyParsley
# Valid options (all are named arguments):
#
# Requires one of:
# 'file' -- the input file path or url
# 'string' -- the input string
#
# And optionally (default is the first listed value):
# 'input' => ['html', 'xml']
# 'output' => ['python', 'json', 'xml']
# 'prune' => [true, false]
# 'collate' => [true, false]
# 'base' => 'http://some/base/href'
# 'allow_net' => [true, false]
# 'allow_local' => [true, false]
parselet = PyParsley({
"title": "title",
"links(a)": [