File: myst-codeblock-future-imports.md

package info (click to toggle)
python-sybil 9.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,148 kB
  • sloc: python: 4,510; makefile: 90
file content (17 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!--- invisible-code-block: python

  raise Exception('Boom 1')
--->
More likely is one down here:

```python

  raise Exception('Boom 2')
```
This will keep working but not be an effective test once PEP 563 finally lands:

```{code-block} python

    def foo(x: str):
        print(x)
```