File: examples.md

package info (click to toggle)
python-griffe-typingdoc 0.2.8-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 348 kB
  • sloc: python: 1,354; makefile: 29; sh: 23; javascript: 13
file content (39 lines) | stat: -rw-r--r-- 588 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
hide:
- navigation
---

# Examples

## Simple

/// details | `simple` Python module
    type: example

```python
--8<-- "docs/examples/simple.py"
```
///

::: simple
    options:
        heading_level: 3

## Enhanced

> WARNING: **Non-standard features**
The "enhanced" features are not part of PEP 727.
They just serve as an example to show what would be possible
if the PEP was enhanced to account for more use-cases.

/// details | `enhanced` Python module
    type: example

```python
--8<-- "docs/examples/enhanced.py"
```
///

::: enhanced
    options:
        heading_level: 3