Fix __init__.py-to-__init__ in documentation

This commit is contained in:
Charlie Marsh 2023-02-10 16:30:36 -05:00
parent 3f20f73413
commit 98d5ffb817
2 changed files with 4 additions and 4 deletions

View file

@ -13,11 +13,11 @@ use crate::{
define_violation!(
/// ### What it does
/// Checks for `__init__.py` methods that turned into generators
/// Checks for `__init__` methods that turned into generators
/// via the presence of `yield` or `yield from` statements.
///
/// ### Why is this bad?
/// Generators are not allowed in `__init__.py` methods.
/// Generators are not allowed in `__init__` methods.
///
/// ### Example
/// ```python