From b39e4b193a2247dcaca8e43a32bd7a8efead4601 Mon Sep 17 00:00:00 2001 From: Gregor Aisch Date: Wed, 3 Apr 2013 12:46:10 +0200 Subject: [PATCH] fine-tuning the documentation --- dataset/persistence/table.py | 3 ++- docs/index.rst | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dataset/persistence/table.py b/dataset/persistence/table.py index e6ca217..a039abb 100644 --- a/dataset/persistence/table.py +++ b/dataset/persistence/table.py @@ -274,7 +274,8 @@ class Table(object): def __iter__(self): """ - Allows for iterating over all rows in the table without explicelty calling :py:meth:`all() `. + Allows for iterating over all rows in the table without explicetly + calling :py:meth:`all() `. :: for row in table: diff --git a/docs/index.rst b/docs/index.rst index a3d366f..e779b3e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -12,9 +12,9 @@ dataset: databases for lazy people Although managing data in relational database has plenty of benefits, we find them rarely being used in the typical day-to-day work with small to medium scale datasets. But why is that? Why do we see an awful lot of data stored in static files in CSV or JSON format? -Because **programmers are lazy** they tend to prefer the easiest solution they find. And in **Python**, databases weren't the simplest solution to store a bunch of structured data. This is what **dataset** is going to change! +Because **programmers are lazy** they tend to prefer the easiest solution they find. And in **Python**, a database wasn't the simplest solution for storing a bunch of structured data. This is what **dataset** is going to change! -*In short, dataset makes reading and writing data in databases as simple as reading and writing JSON files.* +In short, dataset combines the straightforwardness of No-SQL interfaces with the full power and flexibility of relational databases. ::