Remove hanging lines from docstrings. (#2349)

* Remove hanging lines from docstrings.

Deleted hanging blank lines at the end of docstrings.

Regex pattern:
 - find `\n\n( *)"""`
 - replace with `\n$1"""`
This commit is contained in:
Rodrigo Girão Serrão
2023-04-24 11:21:38 +01:00
committed by GitHub
parent 80f4c12e76
commit e5033d7d23
60 changed files with 1 additions and 217 deletions

View File

@@ -1,10 +1,8 @@
"""
Simulates a screenshot of the Textual devtools
"""
from textual.app import App
from textual.devtools.renderables import DevConsoleHeader
from textual.widgets import Static

View File

@@ -1,5 +1,5 @@
from textual.app import App, ComposeResult
from textual.widgets import Static, Header
from textual.widgets import Header, Static
TEXT = """\
Docking a widget removes it from the layout and fixes its position, aligned to either the top, right, bottom, or left edges of a container.

View File

@@ -45,8 +45,6 @@ class ListViewExample(App):
)
yield Footer()
```
"""