---
source: crates/ruff/src/rules/pydocstyle/mod.rs
---
D.py:34:9: D418 Function decorated with `@overload` shouldn't contain a docstring
   |
34 |     @overload
35 |     def overloaded_method(self, a: str) -> str:
   |         ^^^^^^^^^^^^^^^^^ D418
36 |         """Foo bar documentation."""
37 |         ...
   |

D.py:90:9: D418 Function decorated with `@overload` shouldn't contain a docstring
   |
90 |     @overload
91 |     def nested_overloaded_func(a: str) -> str:
   |         ^^^^^^^^^^^^^^^^^^^^^^ D418
92 |         """Foo bar documentation."""
93 |         ...
   |

D.py:110:5: D418 Function decorated with `@overload` shouldn't contain a docstring
    |
110 | @overload
111 | def overloaded_func(a: str) -> str:
    |     ^^^^^^^^^^^^^^^ D418
112 |     """Foo bar documentation."""
113 |     ...
    |


