Skip to content

Commit

Permalink
Merge pull request #26 from williamscott/master
Browse files Browse the repository at this point in the history
Correct typo and format a keyword
  • Loading branch information
yasoob committed Aug 18, 2015
2 parents 06d67fd + b0ea144 commit 551d947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions global_&_return.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Global & Return
---------------

You might have encountered some functions written in python which have a
return keyword in the end of the function. Do you know what it does? It
``return`` keyword in the end of the function. Do you know what it does? It
is similar to return in other languages. Lets examine this little
function:

Expand Down Expand Up @@ -69,6 +69,6 @@ scope of the function as well. Let me demonstrate it with an example :
So hopefully there are no errors in the second run as expected. In
practical programming you should try to stay away from ``global``
keyword as it only makes life difficult by introducing unwated variables
keyword as it only makes life difficult by introducing unwanted variables
to the global scope.

0 comments on commit 551d947

Please sign in to comment.