Skip to content

Commit

Permalink
Fix typo in PYI056 docs (#5973)
Browse files Browse the repository at this point in the history
The current "use instead" code would correctly be rejected by any type
checker worth its salt ;)
  • Loading branch information
AlexWaygood authored Jul 22, 2023
1 parent 33657d3 commit aba340a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use crate::checkers::ast::Checker;
/// Use instead:
/// ```python
/// __all__ = ["A"]
/// __all__ += "B"
/// __all__ += ["B"]
/// ```
#[violation]
pub struct UnsupportedMethodCallOnAll {
Expand Down

0 comments on commit aba340a

Please sign in to comment.