Skip to content

Commit

Permalink
Update docs/source/typing_anti_pitch.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
hauntsaninja and AlexWaygood authored Sep 25, 2023
1 parent 15da783 commit 9ba5ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/typing_anti_pitch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ in Python::

* Your codebase has suffered at the hands of `Hyrum's Law <https://www.hyrumslaw.com/>`_
and all possible observable behaviour is depended on. In order to avoid false positives for your
users, all your types end up being either a) complicated ``Protocol``s that are hard to maintain,
users, all your types end up being either a) complicated ``Protocol``\s that are hard to maintain,
or b) ``Any`` in which case there's not much point. (On the other hand, static type checking could
be a good solution for communicating to users what behaviour they should be allowed to rely on)

Expand Down

0 comments on commit 9ba5ec9

Please sign in to comment.