summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorPhilipp A <flying-sheep@web.de>2019-06-08 12:05:46 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-08 12:05:46 (GMT)
commitd407d2a7265f6102e51a1d62b3fd28b4f7a78d16 (patch)
tree6e52402cf0cdff805922a75e13822d54a0acb3f0 /Modules
parent65e5860fcc8ffe66f3c325d5484112f3b6540e8c (diff)
downloadcpython-d407d2a7265f6102e51a1d62b3fd28b4f7a78d16.zip
cpython-d407d2a7265f6102e51a1d62b3fd28b4f7a78d16.tar.gz
cpython-d407d2a7265f6102e51a1d62b3fd28b4f7a78d16.tar.bz2
bpo-37173: Show passed class in inspect.getfile error (GH-13861)
Currently, inspect.getfile(str) will report nonsense: ```pytb >>> inspect.getfile(str) TypeError: <module 'builtins' (built-in)> is a built-in class ``` This fixes that https://bugs.python.org/issue37173
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions