From 6a06b9d998ea9502a93db14ebb65395b20c1b30f Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Tue, 1 Oct 2013 21:55:22 -0400 Subject: 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] --- doc/source/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/source') 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) # [Elsie, -- cgit v1.2.3