]> granicus.if.org Git - python/commit
Use type(x).__name__ to get the name of the type instead of parsing
authorGuido van Rossum <guido@python.org>
Thu, 9 Aug 2001 18:56:27 +0000 (18:56 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 9 Aug 2001 18:56:27 +0000 (18:56 +0000)
commita995c91243fe1980551b81b116ec93bb9a38a974
tree45b9850ea4745224fecb460e53b5a22102da1702
parent0263c80b90e9abb312601bc176b8176665953dc7
Use type(x).__name__ to get the name of the type instead of parsing
repr(type(x)).
Lib/repr.py