From f7349d46e97455409637b4d263bb17c7e7b7e218 Mon Sep 17 00:00:00 2001 From: David Fisher Date: Sat, 20 Feb 2016 22:47:38 -0800 Subject: [PATCH] Add comment about True/False omission in 2.7 builtins --- stdlib/2.7/__builtin__.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/2.7/__builtin__.pyi b/stdlib/2.7/__builtin__.pyi index 93c4765fc..16f04c46f 100644 --- a/stdlib/2.7/__builtin__.pyi +++ b/stdlib/2.7/__builtin__.pyi @@ -1,5 +1,8 @@ # Stubs for builtins (Python 2.7) +# True and False are deliberately omitted because they are keywords in +# Python 3, and stub files conform to Python 3 syntax. + from typing import ( TypeVar, Iterator, Iterable, overload, Sequence, Mapping, Tuple, List, Any, Dict, Callable, Generic, Set,