Steps to reproduce:
- Create python file as follows
class A:
"""Class Docstring
"""
def __init__(self):
"""init docstring
"""
pass
def myprint(self):
"""Testing function docstring
"""
print('Printed myprint')
print('Printed myprint a second time')
- Then, save it as test.py
- Open the file again
- Go to the last line
- Add another line at the end of myprint
class A:
"""Class Docstring
"""
def __init__(self):
"""init docstring
"""
pass
def myprint(self):
"""Testing function docstring
"""
print('Printed myprint')
print('Printed myprint a second time')
print('another line')
- Now, the last line is excluded from the fold
- As an example, if you press
zM, you get:
+-- 13 lines: class A: Class Docstring--------------------------------------------
print('another line')