summaryrefslogtreecommitdiff
path: root/src/beautifulsoup/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/beautifulsoup/README.txt')
-rw-r--r--src/beautifulsoup/README.txt33
1 files changed, 13 insertions, 20 deletions
diff --git a/src/beautifulsoup/README.txt b/src/beautifulsoup/README.txt
index d011072..ff83212 100644
--- a/src/beautifulsoup/README.txt
+++ b/src/beautifulsoup/README.txt
@@ -4,16 +4,19 @@ Introduction
>>> from beautifulsoup import BeautifulSoup
>>> soup = BeautifulSoup("<p>Some<b>bad<i>HTML")
>>> print soup.prettify()
- <p>
- Some
- <b>
- bad
- <i>
- HTML
- </i>
- </b>
- </p>
-
+ <html>
+ <body>
+ <p>
+ Some
+ <b>
+ bad
+ <i>
+ HTML
+ </i>
+ </b>
+ </p>
+ </body>
+ </html>
>>> soup.find(text="bad")
u'bad'
@@ -21,13 +24,3 @@ Introduction
<i>HTML</i>
-Python 3
-========
-
-The canonical version of Beautiful Soup is the Python 2 version. You
-can generate the Python 3 version by running to3.sh, or by doing what
-to3.sh does: run 2to3 on BeautifulSoup.py and BeautifulSoupTests.py,
-then applying the appropriate .3.diff file to each generated script.
-
-The testall.sh script tests both the Python 2 version and a freshly
-generated Python 3 version.