Hacker News new | ask | show | jobs
by properpopper 300 days ago
You can't copy a method from a class and then paste it in the REPL, it will complain about indentation.

Workarounds:

1) copy whole class

2) remove indentation before copying

1 comments

That's only a problem in the base python interpreter. IPython has handled this well for over 20 years.