Skip to content

Commit 483b3ee

Browse files
authored
Merge pull request #6399 from TomJGooding/docs-widget-fix-region-docstring
docs(widget): fix `Widget.region` docstring
2 parents cd08c72 + 820ce17 commit 483b3ee

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/textual/widget.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2249,10 +2249,6 @@ def content_size(self) -> Size:
22492249
def region(self) -> Region:
22502250
"""The region occupied by this widget, relative to the Screen.
22512251
2252-
Raises:
2253-
NoScreen: If there is no screen.
2254-
errors.NoWidget: If the widget is not on the screen.
2255-
22562252
Returns:
22572253
Region within screen occupied by widget.
22582254
"""

0 commit comments

Comments
 (0)