-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,7 +80,7 @@ | |
from __future__ import print_function | ||
|
||
__author__ = "Leonard Richardson ([email protected])" | ||
__version__ = "3.2.1" | ||
__version__ = "3.2.1b" | ||
__copyright__ = "Copyright (c) 2004-2012 Leonard Richardson" | ||
__license__ = "New-style BSD" | ||
|
||
|
@@ -93,14 +93,16 @@ | |
text_type = str | ||
binary_type = bytes | ||
basestring = str | ||
unichr = chr | ||
else: | ||
text_type = unicode | ||
binary_type = str | ||
|
||
try: | ||
from htmlentitydefs import name2codepoint | ||
from html.entities import name2codepoint | ||
except ImportError: | ||
name2codepoint = {} | ||
from htmlentitydefs import name2codepoint | ||
|
||
try: | ||
set | ||
except NameError: | ||
|