mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
Otherwise it's impossible to flow-sensitively resolve names referenced inside such f-strings since we use the containing statement as the anchor node in the graph.
5 lines
136 B
Python
5 lines
136 B
Python
def test(name: str) -> int:
|
|
assert name is not None, f'{name} is None'
|
|
# <ref>
|
|
return len(name)
|