Lars Ingebrigtsen <larsi@gnus.org> writes:
Tomas Nordin <tomasn@posteo.net> writes:
I then noticed that placing point just below the class definition and
then narrow works as expected. But I think the recipe way should work as
well. And even if not, this behavior is confusing.
This bug is still present on the trunk.
The problem is most easily reproduced by calling the
(python-nav--beginning-of-defun)
function directly. If point is on the first line, then this function
won't do the right thing:
def a1(self):
pass
It does the right thing here (still on the same build) when point is at
column > 4, and the wrong thing when at 4 or less. Indentation?