diff --git a/pep-0484.txt b/pep-0484.txt index b15fe3b05db..f009c171723 100644 --- a/pep-0484.txt +++ b/pep-0484.txt @@ -2126,6 +2126,9 @@ Notes: '''Docstring''' # # type: () -> None # This is OK +When checking Python 2.7 code, type checkers should treat the ``int`` and +``long`` types as equivalent. For parameters typed as ``unicode`` or +``Text``, arguments of type ``str`` should be acceptable. Rejected Alternatives =====================