---
source: crates/ruff_linter/src/rules/pydocstyle/mod.rs
---
D412 [*] No blank lines allowed between a section header and its content ("Example")
  --> sphinx.py:13:5
   |
11 | def func():
12 |     """
13 |     Example:
   |     ^^^^^^^
   |
help: Remove blank line(s)
   |
14 |
   -
15 |     .. code-block:: python
   |

D412 [*] No blank lines allowed between a section header and its content ("Example")
  --> sphinx.py:24:5
   |
22 | def func():
23 |     """
24 |     Example:
   |     ^^^^^^^
   |
help: Remove blank line(s)
   |
25 |
   -
   -
26 |     .. code-block:: python
   |

D412 [*] No blank lines allowed between a section header and its content ("Example")
  --> sphinx.py:47:5
   |
45 | def func():
46 |     """
47 |     Example
   |     ^^^^^^^
48 |     -------
   |
help: Remove blank line(s)
   |
49 |
   -
50 |     .. code-block:: python
   |

D412 [*] No blank lines allowed between a section header and its content ("Example")
  --> sphinx.py:59:5
   |
57 | def func():
58 |     """
59 |     Example
   |     ^^^^^^^
60 |     -------
   |
help: Remove blank line(s)
   |
61 |
   -
   -
62 |     .. code-block:: python
   |
