We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c98f6b9 commit 4d53926Copy full SHA for 4d53926
1 file changed
Lib/email/utils.py
@@ -340,7 +340,7 @@ def parseaddr(addr, strict=True):
340
addr = addr[0]
341
342
# FIX: Support both str and unicode in Python 2
343
- if not isinstance(addr, (str, unicode)): # Python 2 compatible
+ if not isinstance(addr, (str, unicode)):
344
return ('', '')
345
346
# Convert unicode to str for consistent processing
0 commit comments