We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
filename
Clinic
1 parent 2e9ddb9 commit 6c74b2fCopy full SHA for 6c74b2f
Tools/clinic/clinic.py
@@ -2015,7 +2015,6 @@ def __post_init__(self, args: tuple[str, ...]) -> None:
2015
if self.type =='file':
2016
d = {}
2017
filename = self.clinic.filename
2018
- assert filename is not None
2019
d['path'] = filename
2020
dirname, basename = os.path.split(filename)
2021
if not dirname:
@@ -2133,8 +2132,8 @@ def __init__(
2133
2132
language: CLanguage,
2134
printer: BlockPrinter | None = None,
2135
*,
+ filename: str,
2136
verify: bool = True,
2137
- filename: str | None = None
2138
) -> None:
2139
# maps strings to Parser objects.
2140
# (instantiated from the "parsers" global.)
0 commit comments