Hyphenate "class-based"

makes it more readable
This commit is contained in:
FND 2012-01-31 13:54:46 +01:00
parent 5cb50a46ee
commit 4aebc267bc
5 changed files with 11 additions and 11 deletions

View file

@ -148,7 +148,7 @@ classes:
a remote application that uses OAuth.
What to use depends on what you have in mind. For the SQLite 3 extension
we will use the class based approach because it will provide users with a
we will use the class-based approach because it will provide users with a
manager object that handles opening and closing database connections.
The Extension Code
@ -203,7 +203,7 @@ So here's what these lines of code do:
5. Finally, we add a `get_db` function that simplifies access to the context's
database.
So why did we decide on a class based approach here? Because using our
So why did we decide on a class-based approach here? Because using our
extension looks something like this::
from flask import Flask