Fix typo in PYI056 docs (#5973)

The current "use instead" code would correctly be rejected by any type
checker worth its salt ;)
This commit is contained in:
Alex Waygood 2023-07-22 14:10:38 +01:00 committed by GitHub
parent 33657d3a1c
commit aba340a177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ use crate::checkers::ast::Checker;
/// Use instead:
/// ```python
/// __all__ = ["A"]
/// __all__ += "B"
/// __all__ += ["B"]
/// ```
#[violation]
pub struct UnsupportedMethodCallOnAll {