I want to know how Python executes inspect.signature, so I want to step into this function call inspect.signature(bytes.__getitem__). One way to do that is to write a file with these contents
import inspect
breakpoint()
inspect.signature(bytes.__getitem__)
and then run it and use the s pdb command to step into the function call.
My question is, can I do this from the REPL?