From 9d0ad9ed98f372f2ad7ae74f4d8e6c50386a5398 Mon Sep 17 00:00:00 2001 From: Umutambyi Gad Date: Sun, 14 Feb 2021 00:55:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Fixed=20simple=20typos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9cadd2a..c6d80b6 100644 --- a/README.md +++ b/README.md @@ -2135,7 +2135,7 @@ UnboundLocalError: local variable 'a' referenced before assignment >>> another_func() 2 ``` -* The keywords `global` and `nonlocal` tell the python interpreter to not delcare new variables and look them up in the corresponding outer scopes. +* The keywords `global` and `nonlocal` tell the python interpreter to not declare new variables and look them up in the corresponding outer scopes. * Read [this](https://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html) short but an awesome guide to learn more about how namespaces and scope resolution works in Python. --- @@ -3114,7 +3114,7 @@ Ellipsis >>> ... Ellipsis ``` -- Eliipsis can be used for several purposes, +- Ellipsis can be used for several purposes, + As a placeholder for code that hasn't been written yet (just like `pass` statement) + In slicing syntax to represent the full slices in remaining direction ```py