Skip to content

Commit fbe3eb0

Browse files
author
Sudheer Satyanarayana
committed
Capitalize Python. Minor grammar fixes
1 parent aac03ea commit fbe3eb0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

decorators.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ First, let's discuss how to write your own decorator.
1212
It is perhaps one of the most difficult concepts to grasp. We will take
1313
it one step at a time so that you can fully understand it.
1414

15-
Everything in python is an object:
15+
Everything in Python is an object:
1616
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1717

18-
First of all let's understand functions in python:
18+
First of all let's understand functions in Python:
1919

2020
.. code:: python
2121
@@ -175,7 +175,7 @@ previous decorator and make a little bit more usable program:
175175
# I am doing some boring work after executing a_function_requiring_decoration()
176176
177177
Did you get it? We just applied the previously learned principles. This
178-
is exactly what the decorators do in python! They wrap a function and
178+
is exactly what the decorators do in Python! They wrap a function and
179179
modify its behaviour in one way or the another. Now you might be
180180
wondering that we did not use the @ anywhere in our code? That is just a
181181
short way of making up a decorated function. Here is how we could have

0 commit comments

Comments
 (0)