From 5888db734d010fa329bbe5cbfbf4d69926fb4e95 Mon Sep 17 00:00:00 2001 From: dfowler Date: Fri, 3 Jun 2016 17:57:03 -0400 Subject: [PATCH] Fix a few typos --- docs/scenarios/db.rst | 2 +- docs/writing/structure.rst | 2 +- docs/writing/style.rst | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/scenarios/db.rst b/docs/scenarios/db.rst index a2de7fe..3ed1191 100644 --- a/docs/scenarios/db.rst +++ b/docs/scenarios/db.rst @@ -29,7 +29,7 @@ Records `Records `_ is minimalist SQL library, designed for sending raw SQL queries to various databases. Data can be used -programatically, or exported to a number of useful data formats. +programmatically, or exported to a number of useful data formats. .. code-block:: console diff --git a/docs/writing/structure.rst b/docs/writing/structure.rst index 6448dba..4f8bb37 100644 --- a/docs/writing/structure.rst +++ b/docs/writing/structure.rst @@ -600,7 +600,7 @@ clearer and thus preferred. This mechanism is useful for separating concerns and avoiding external un-related logic 'polluting' the core logic of the function or method. A good example of a piece of functionality that is better handled -with decoration is memoization or caching: you want to store the results of an +with decoration is memorization or caching: you want to store the results of an expensive function in a table and use them directly instead of recomputing them when they have already been computed. This is clearly not part of the function logic. diff --git a/docs/writing/style.rst b/docs/writing/style.rst index b916569..2b2c7c8 100644 --- a/docs/writing/style.rst +++ b/docs/writing/style.rst @@ -455,9 +455,9 @@ PEP 8 easy-to-read version of PEP 8 is also available at `pep8.org `_. This is highly recommended reading. The entire Python community does their -best to adhere to the guidelines laidout within this document. Some project +best to adhere to the guidelines laid out within this document. Some project may sway from it from time to time, while others may -`ammend its recommendations `_. +`amend its recommendations `_. That being said, conforming your Python code to PEP 8 is generally a good idea and helps make code more consistent when working on projects with other