mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-11 06:21:57 +08:00
```python
>>> import ast, warnings
>>> warnings.filterwarnings("always")
>>> with open("typeshed/stubs/pyinstaller/pyi_splash/__init__.pyi", encoding="utf-8") as file:
... source = file.read()
...
>>> ast.parse(source)
<unknown>:11: DeprecationWarning: invalid escape sequence '\u'
<ast.Module object at 0x0000027EAF6D3AF0>
```
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>