Message318761
While I wouldn't describe this as completely intentional (as it's an artifact of the change-and-revert dance with 3.7 previously removing docstring nodes from the AST entirely), I also wouldn't want to change it again at this late stage of the release process.
Instead I'd suggest simply noting it in the porting section of What's New. Something like "Due to a change in the way docstrings are handled by the compiler, the implicit ``return None`` in a function body consisting solely of a docstring is now marked as occurring on the same line as the docstring, not on the function's header line". |
|
Date |
User |
Action |
Args |
2018-06-05 14:41:55 | ncoghlan | set | recipients:
+ ncoghlan, nedbat, ned.deily, methane, serhiy.storchaka |
2018-06-05 14:41:54 | ncoghlan | set | messageid: <1528209714.94.0.592728768989.issue33745@psf.upfronthosting.co.za> |
2018-06-05 14:41:54 | ncoghlan | link | issue33745 messages |
2018-06-05 14:41:54 | ncoghlan | create | |
|