Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
properpopper
9mo ago
0 comments
Share
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
0 comments
default
newest
oldest
ghc
9mo ago
That's only a problem in the base python interpreter. IPython has handled this well for over 20 years.
j
/
k
navigate · click thread line to collapse