diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-03-17 12:22:35 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-03-17 12:22:35 +0200 |
| commit | 286a9ecab57621d0e1af1ba70986ef083149137a (patch) | |
| tree | 42905619e7e3f0dd4bbb05e708f5479fe1790078 /docs/tutorials/wiki2/basiclayout.rst | |
| parent | bebe236dbaa87fb9298bcc0bb27aa7b246b12e35 (diff) | |
| download | pyramid-286a9ecab57621d0e1af1ba70986ef083149137a.tar.gz pyramid-286a9ecab57621d0e1af1ba70986ef083149137a.tar.bz2 pyramid-286a9ecab57621d0e1af1ba70986ef083149137a.zip | |
grammar
Diffstat (limited to 'docs/tutorials/wiki2/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki2/basiclayout.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst index 68be4ee7c..86fe97956 100644 --- a/docs/tutorials/wiki2/basiclayout.rst +++ b/docs/tutorials/wiki2/basiclayout.rst @@ -226,7 +226,7 @@ To give a simple example of a model class, we define one named ``MyModel``: :linenos: :language: py -Our example model has an ``__init__`` method that takes a two arguments +Our example model has an ``__init__`` method that takes two arguments (``name``, and ``value``). It stores these values as ``self.name`` and ``self.value`` within the ``__init__`` function itself. The ``MyModel`` class also has a |
