diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-10-09 16:18:45 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-10-09 16:18:45 (GMT) |
commit | 8b78b99647f2bfa7b757f060bdcb2a4e0c6f7105 (patch) | |
tree | a57fe2f37fa7feb9980f803e173acf7ac50a921f /Doc/doc | |
parent | 2f6a0b00a0772424dd49b782df18e36000c082ed (diff) | |
download | cpython-8b78b99647f2bfa7b757f060bdcb2a4e0c6f7105.zip cpython-8b78b99647f2bfa7b757f060bdcb2a4e0c6f7105.tar.gz cpython-8b78b99647f2bfa7b757f060bdcb2a4e0c6f7105.tar.bz2 |
Fix [ #465502 ] urllib2: urlopen unicode problem
When checking for strings use,
! if isinstance(uri, (types.StringType, types.UnicodeType)):
Also get rid of some dodgy code that tried to guess whether attributes
were callable or not.
Diffstat (limited to 'Doc/doc')
0 files changed, 0 insertions, 0 deletions