diff --git a/docs/scenarios/scrape.rst b/docs/scenarios/scrape.rst index cb2764b..69c6e34 100644 --- a/docs/scenarios/scrape.rst +++ b/docs/scenarios/scrape.rst @@ -24,7 +24,7 @@ module instead of the already built-in urlib2 due to improvements in speed and readability. You can easily install both using ``pip install lxml`` and ``pip install requests``. -Lets start with the imports: +Let's start with the imports: .. code-block:: python @@ -71,7 +71,7 @@ Knowing this we can create the correct XPath query and use the lxml #This will create a list of prices prices = tree.xpath('//span[@class="item-price"]/text()') -Lets see what we got exactly: +Let's see what we got exactly: .. code-block:: python diff --git a/docs/scenarios/speed.rst b/docs/scenarios/speed.rst index 96065c2..61cf80b 100644 --- a/docs/scenarios/speed.rst +++ b/docs/scenarios/speed.rst @@ -153,7 +153,7 @@ in a similar way like in standard C. For example `cdef int n,k,i` in line 3. Th allows the Cython compiler to generate more efficient C code from the second code. While standard Python code is saved in :file:`*.py` files, Cython code is saved in :file:`*.pyx` files. -And what is with the speed? So lets try it! +And what is with the speed? So let's try it! .. code-block:: python