SIGN IN SIGN UP

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
P
Philipp A committed
d407d2a7265f6102e51a1d62b3fd28b4f7a78d16
Parent: 65e5860
Committed by Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> on 6/8/2019, 12:05:46 PM