From 69277aa1f57d3766484fb1c0c2ae4fdf93fa877a Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Mon, 13 May 2019 15:49:04 +0800 Subject: [PATCH] Fix some typos --- docs/intro/learning.rst | 6 +++--- docs/scenarios/gui.rst | 2 +- docs/scenarios/web.rst | 6 +++--- docs/writing/style.rst | 2 +- docs/writing/tests.rst | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/intro/learning.rst b/docs/intro/learning.rst index e06e64d..9def6f4 100644 --- a/docs/intro/learning.rst +++ b/docs/intro/learning.rst @@ -30,7 +30,7 @@ Real Python is a repository of free and in-depth Python tutorials created by a d Python Basics ~~~~~~~~~~~~~ -pythonbasics.org is an introductiory tutorial for beginners. The tutorial includes exercises. It covers the basics and there are also in-depth lessons like object oriented programming and regular expressions. +pythonbasics.org is an introductory tutorial for beginners. The tutorial includes exercises. It covers the basics and there are also in-depth lessons like object oriented programming and regular expressions. `Python basics `_ @@ -181,7 +181,7 @@ no previous programming experience. Computer Science Path on Codecademy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -A Codeacademy course for the absolute Python beginner. This free and interactive +A Codecademy course for the absolute Python beginner. This free and interactive course provides and teaches the basics (and beyond) of Python programming while testing the user's knowledge in between progress. This course also features a built-in interpreter for receiving instant feedback on your learning. @@ -218,7 +218,7 @@ Effective Python ~~~~~~~~~~~~~~~~ This book contains 59 specific ways to improve writing Pythonic code. At 227 -pages, it is a very brief overview of some of the most common adapations +pages, it is a very brief overview of some of the most common adaptations programmers need to make to become efficient intermediate level Python programmers. diff --git a/docs/scenarios/gui.rst b/docs/scenarios/gui.rst index 520b3de..62cf0d1 100644 --- a/docs/scenarios/gui.rst +++ b/docs/scenarios/gui.rst @@ -146,7 +146,7 @@ Toga cross platform GUI toolkit. Toga consists of a library of base components with a shared interface to simplify platform-agnostic GUI development. -Toga is available on mOS, Windows, Linux (GTK), and mobile platforms such as +Toga is available on macOS, Windows, Linux (GTK), and mobile platforms such as Android and iOS. diff --git a/docs/scenarios/web.rst b/docs/scenarios/web.rst index c80b97c..22e78de 100644 --- a/docs/scenarios/web.rst +++ b/docs/scenarios/web.rst @@ -126,7 +126,7 @@ Pyramid focus on modularity. It comes with a small number of libraries ("batteries") built-in, and encourages users to extend its base functionality. A set of provided cookiecutter templates helps making new project decisions for users. -It powers one of the most important parts of python infrastucture +It powers one of the most important parts of python infrastructure `PyPI `_. Pyramid does not have a large user base, unlike Django and Flask. It's a @@ -155,7 +155,7 @@ and `Pydantic `_. FastAPI takes advantage of standard Python type declarations in function parameters to declare request parameters and bodies, perform data conversion (serialization, -parsing), data valdiation, and automatic API documentation with **OpenAPI 3** +parsing), data validation, and automatic API documentation with **OpenAPI 3** (including **JSON Schema**). It includes tools and utilities for security and authentication (including OAuth2 with JWT @@ -283,7 +283,7 @@ Heroku is the recommended PaaS for deploying Python web applications today. Eldarion -------- -`Eldarion `_ (formely known as Gondor) is a PaaS powered +`Eldarion `_ (formerly known as Gondor) is a PaaS powered by Kubernetes, CoreOS, and Docker. They support any WSGI application and have a guide on deploying `Django projects `_. diff --git a/docs/writing/style.rst b/docs/writing/style.rst index 56f1086..bbe77f5 100644 --- a/docs/writing/style.rst +++ b/docs/writing/style.rst @@ -643,7 +643,7 @@ Never use a list comprehension just for its side effects. .. code-block:: python - [print(x) for x in seqeunce] + [print(x) for x in sequence] **Good**: diff --git a/docs/writing/tests.rst b/docs/writing/tests.rst index 0cf20f7..ccfc938 100644 --- a/docs/writing/tests.rst +++ b/docs/writing/tests.rst @@ -201,7 +201,7 @@ the unittest module! Hypothesis ---------- -Hypothesis is a library which lets you write tests that are parametrized by +Hypothesis is a library which lets you write tests that are parameterized by a source of examples. It then generates simple and comprehensible examples that make your tests fail, letting you find more bugs with less work.