]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
When looking for an alias, first look for the normalized name (which
authorGuido van Rossum <guido@python.org>
Fri, 4 Oct 2002 20:49:05 +0000 (20:49 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 4 Oct 2002 20:49:05 +0000 (20:49 +0000)
commitc8c6065231d4595a28fe54d3b8f54cb3d222e537
tree672d02b1987b47a4952f171b0308b7d8d260eb51
parentbfcdb8734ea13d4404958b0caf100569a5c41f3c
When looking for an alias, first look for the normalized name (which
still may contain dots), then if that doesn't exist look for the name
with dots replaced by underscores.  This is a little more forgiving.
Lib/encodings/__init__.py