mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstring
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
App > Screen {
|
App > Screen {
|
||||||
layout: dock;
|
layout: dock;
|
||||||
docks: side=left/1;
|
docks: side=left/1;
|
||||||
background: $surface;
|
background: $surfaceX;
|
||||||
color: $text-surface;
|
color: $text-surface;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ class TokenError(Exception):
|
|||||||
code (str): The code being parsed.
|
code (str): The code being parsed.
|
||||||
start (tuple[int, int]): Line number of the error.
|
start (tuple[int, int]): Line number of the error.
|
||||||
message (str): A message associated with the error.
|
message (str): A message associated with the error.
|
||||||
end (tuple[int, int]): End location of .
|
end (tuple[int, int] | None): End location of token, or None if not known. Defaults to None.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self.path = path
|
self.path = path
|
||||||
|
|||||||
Reference in New Issue
Block a user