[issue41671] inspect.getdoc/.cleandoc doesn't always remove trailing blank lines

2020-09-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +yselivanov stage: -> needs patch versions: +Python 3.10 -Python 3.7 ___ Python tracker ___ ___

[issue41671] inspect.getdoc/.cleandoc doesn't always remove trailing blank lines

2020-08-30 Thread RalfM
New submission from RalfM : Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import inspect >>> def func1(): ... """This is func1. ... """ ... pass ... >>> inspec