mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-9795 Better docstring updates: avoid extra blank line in empty docstring and keep blank lines after last field in section
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
def f(x, y, z):
|
||||
"""
|
||||
|
||||
Args:
|
||||
x:
|
||||
y:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
def f(x, y):
|
||||
"""
|
||||
|
||||
Args:
|
||||
x (object):
|
||||
"""
|
||||
@@ -1,6 +1,5 @@
|
||||
def f(x, y):
|
||||
"""
|
||||
|
||||
Parameters
|
||||
----------
|
||||
x : object
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
def f(x, y):
|
||||
"""
|
||||
|
||||
Returns:
|
||||
object:
|
||||
"""
|
||||
@@ -1,6 +1,5 @@
|
||||
def f(x, y):
|
||||
"""
|
||||
|
||||
Returns
|
||||
-------
|
||||
object
|
||||
|
||||
Reference in New Issue
Block a user