diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-01-28 13:34:40 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-01-28 13:34:40 -0500 |
commit | 58a9d28ced3c133dc945266024e629335af16196 (patch) | |
tree | 33a12e789fc659022d9fca2eb84c6135b81d1c23 /README.txt | |
parent | 692fe5201d5dec15a3598578a6f403e67802de0d (diff) | |
parent | 5d4b8cc6d288a705cf87c2f2c26036b94d825aa9 (diff) |
Removed buildout and made tests work using 'unit2 discover'.
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..ff83212 --- /dev/null +++ b/README.txt @@ -0,0 +1,26 @@ +Introduction +============ + + >>> from beautifulsoup import BeautifulSoup + >>> soup = BeautifulSoup("<p>Some<b>bad<i>HTML") + >>> print soup.prettify() + <html> + <body> + <p> + Some + <b> + bad + <i> + HTML + </i> + </b> + </p> + </body> + </html> + >>> soup.find(text="bad") + u'bad' + + >>> soup.i + <i>HTML</i> + + |