diff options
author | Leonard Richardson <leonardr@segfault.org> | 2013-10-01 21:55:22 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2013-10-01 21:55:22 -0400 |
commit | 6a06b9d998ea9502a93db14ebb65395b20c1b30f (patch) | |
tree | 0999ebae9dcc14522bdbb8bb1a3289d7d7498cbf /doc/source | |
parent | 623d8c13b79003921fd13b59328d0c28e01eabd0 (diff) |
Fixed a bug in which short Unicode input was improperly encoded to ASCII when checking whether or not it was a file on
disk. [bug=1227016]
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/index.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index f7ee5f9..0e5f6d1 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1213,8 +1213,8 @@ against each tag's 'href' attribute:: You can filter an attribute based on `a string`_, `a regular expression`_, `a list`_, `a function`_, or `the value True`_. -This code finds all tags that have an ``id`` attribute, regardless of -what the value is:: +This code finds all tags whose ``id`` attribute has a value, +regardless of what the value is:: soup.find_all(id=True) # [<a class="sister" href="http://example.com/elsie" id="link1">Elsie</a>, |