summaryrefslogtreecommitdiffstats
path: root/Lib/cmd.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-10-09 16:18:45 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-10-09 16:18:45 (GMT)
commit8b78b99647f2bfa7b757f060bdcb2a4e0c6f7105 (patch)
treea57fe2f37fa7feb9980f803e173acf7ac50a921f /Lib/cmd.py
parent2f6a0b00a0772424dd49b782df18e36000c082ed (diff)
downloadcpython-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 'Lib/cmd.py')
0 files changed, 0 insertions, 0 deletions