Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- Fixed typos #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_themes/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ krTheme Sphinx Style
====================

This repository contains sphinx styles Kenneth Reitz uses in most of
his projects. It is a drivative of Mitsuhiko's themes for Flask and Flask related
his projects. It is a derivative of Mitsuhiko's themes for Flask and Flask related
projects. To use this style in your Sphinx documentation, follow
this guide:

Expand Down
4 changes: 2 additions & 2 deletions docs/classes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Unique class level variables
All the values stored in the instance via `self.` are data inside of an
instance. Each instance of the class can have different values for given
attribute (anything we access via . is also known as attribute). But, when we
define an variable in the class level, that is same accross all objects. In
define an variable in the class level, that is same across all objects. In
the following example, we define a class called `Point`, and we also have a
special class level variable called `style` in it. After we create 2 objects
of type `Point`, we can see that both has the same `class` attribute `style`
Expand Down Expand Up @@ -530,7 +530,7 @@ Do you remember the `with` statement from the `files` chapter? Where we used a
context manager to make sure that the file is closed after we are done? The
same style is used in many places where we want the resources to be cleaned up
after the work is done; sometimes we want to call some extra functions when we are
done. We can write our own context manager in our classs using `__enter__` and
done. We can write our own context manager in our class using `__enter__` and
`__exit__` methods.

For example, we will create a new class called `TimeLog` which in turn will
Expand Down
2 changes: 1 addition & 1 deletion docs/flask.rst
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function linked to. In addition it takes care of where the application is
deployed.

For example, if you website is deployed at: ``/myapp/`` flask will automatically
happend ``/myapp/`` to all links without the need for you to specify it.
happened ``/myapp/`` to all links without the need for you to specify it.

To create a link in a template, flask relies on the function ``url_for()``. This
function takes as first argument the function you want to call (link to). The
Expand Down
2 changes: 1 addition & 1 deletion docs/hardwaresimulation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Turning on all NeoPixels on the board with Red colour
cpx.pixels.fill(RED)

On the top of the code, we are writing a line starting with **from** to get the Python module
which can interact wtih the device, as **cpx**. Next line, we are also importing *time* module,
which can interact with the device, as **cpx**. Next line, we are also importing *time* module,
which we will use later.

Then we defined a colour Red in the *RED* variable as a (R, G, B) tuple.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Now your Python installation comes with different modules installed, you can use

The above example shows how to get the list of all installed modules in your system. I am not pasting them here as it is a big list in my system :)

You can also use *help()* function in the interpeter to find documentation about any module/classes. Say you want to know all available methods in strings, you can use the following method
You can also use *help()* function in the interpreter to find documentation about any module/classes. Say you want to know all available methods in strings, you can use the following method

::

Expand Down
2 changes: 1 addition & 1 deletion docs/virtualenv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ on the package index. The exact version details of the packages are stored in
the *Pipfile.lock* file, it is in machine readable `JSON
<https://en.wikipedia.org/wiki/JSON>`_ format.

Remember to install any dependency for your project using **pipenv** comamnd,
Remember to install any dependency for your project using **pipenv** command,
that will automatically update your *Pipfile* and *Pipfile.lock* file. If you
have any dependency which is only required for the development, you can
install them marked as *dev-packages*. In the following example I am installing
Expand Down