summaryrefslogtreecommitdiffstats
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-08 12:24:59 (GMT)
committerGitHub <noreply@github.com>2019-06-08 12:24:59 (GMT)
commitc5daae4ef6d09269c95ed1023e76932cc179f309 (patch)
tree19ab18e6384b288bef8aa5b9a91b86ec1b062db7 /Python/getcompiler.c
parent3d03a35ba0f162a350898100efc95fdf392070a2 (diff)
downloadcpython-c5daae4ef6d09269c95ed1023e76932cc179f309.zip
cpython-c5daae4ef6d09269c95ed1023e76932cc179f309.tar.gz
cpython-c5daae4ef6d09269c95ed1023e76932cc179f309.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 (cherry picked from commit d407d2a7265f6102e51a1d62b3fd28b4f7a78d16) Co-authored-by: Philipp A <flying-sheep@web.de>
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions