From 54ed75f77debbea5e4d5497fe189caaf84b9ceb3 Mon Sep 17 00:00:00 2001 From: Tom Swirly Date: Sat, 27 Jan 2018 17:02:59 +0100 Subject: [PATCH 1/2] Format and grammar tweak * Tweaked a line break so a section number was correctly formatted * Tweaked grammar to be slightly more natural --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68b6c09..fdbd15b 100644 --- a/README.md +++ b/README.md @@ -1805,7 +1805,8 @@ x, y = (0, 1) if True else None, None ((0, 1), None) ``` -Almost every Python programmer would have faced a similar situation. +Almost every Python programmer has faced a similar situation. + 2\. ```py t = ('one', 'two') From a9e72e03f49d75352c9d1a8a31c5d4b9fc84c742 Mon Sep 17 00:00:00 2001 From: Tom Ritchford Date: Sat, 27 Jan 2018 17:33:32 +0100 Subject: [PATCH 2/2] Fix code sample for "65539 local variables" example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fdbd15b..04c49f1 100644 --- a/README.md +++ b/README.md @@ -2265,7 +2265,8 @@ nan ```py import dis exec(""" - def f():* """ + """ + def f(): + """ + """ """.join(["X"+str(x)+"=" + str(x) for x in range(65539)])) f()