[1.0.X] Fixed -- Typo fix in the custom fields documentation, pointed out by

col16.

Backport of r9557 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-12-03 05:53:57 +00:00
parent 500021a923
commit 8c6a6f3b1a
1 changed files with 6 additions and 6 deletions

View File

@ -31,12 +31,12 @@ Our example object
------------------ ------------------
Creating custom fields requires a bit of attention to detail. To make things Creating custom fields requires a bit of attention to detail. To make things
easier to follow, we'll use a consistent example throughout this document. easier to follow, we'll use a consistent example throughout this document:
Suppose you have a Python object representing the deal of cards in a hand of wrapping a Python object representing the deal of cards in a hand of Bridge_.
Bridge_. (Don't worry, you don't know how to play Bridge to follow this Don't worry, you don't have know how to play Bridge to follow this example.
example. You only need to know that 52 cards are dealt out equally to four You only need to know that 52 cards are dealt out equally to four players, who
players, who are traditionally called *north*, *east*, *south* and *west*.) are traditionally called *north*, *east*, *south* and *west*. Our class looks
Our class looks something like this:: something like this::
class Hand(object): class Hand(object):
def __init__(self, north, east, south, west): def __init__(self, north, east, south, west):