From 828f42e350fbea8d23a4dcbc2f54e66da0f993d2 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Fri, 26 Aug 2016 13:35:30 -0700 Subject: [PATCH] Fix syntax in README.md. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ca783fe8..3a2aea5b4 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ According to PEP 484, type checkers are expected to understand simple version and platform checks. So the following syntax is legal in a `pyi`: ``` -if sys.version_info[0] >= 3: +if sys.version_info >= (3,): # Python 3 specific definitions else: # Python 2 specific definitions