We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef057bf commit 12c6cdfCopy full SHA for 12c6cdf
Doc/whatsnew/3.7.rst
@@ -2431,3 +2431,8 @@ sufficient to both emit :exc:`BytesWarning` messages and have them converted
2431
to exceptions. Instead, the flag must be set (to cause the warnings to be
2432
emitted in the first place), and an explicit ``error::BytesWarning``
2433
warnings filter added to convert them to exceptions.
2434
+
2435
+Due to a change in the way docstrings are handled by the compiler, the
2436
+implicit ``return None`` in a function body consisting solely of a docstring
2437
+is now marked as occurring on the same line as the docstring, not on the
2438
+function's header line.
0 commit comments