Mercurial > pylearn
diff doc/v2_planning/API_coding_style.txt @ 1148:2da593b0f29d
API_coding_style: Moved code sample at end of document for better readability
author | Olivier Delalleau <delallea@iro> |
---|---|
date | Thu, 16 Sep 2010 16:25:38 -0400 |
parents | f6011a2aff0b |
children | d7192e52653e |
line wrap: on
line diff
--- a/doc/v2_planning/API_coding_style.txt Thu Sep 16 16:24:47 2010 -0400 +++ b/doc/v2_planning/API_coding_style.txt Thu Sep 16 16:25:38 2010 -0400 @@ -14,16 +14,6 @@ * Code should be well-documented and well-tested. -Code Sample -=========== - -The following code sample illustrates many of the coding guidelines one should -follow in Pylearn. - -.. code-block:: python - - import os, sys, time - Python Coding Guidelines ======================== @@ -157,3 +147,13 @@ case). The warning message issued through this facility should avoid referring to Pylearn internals. +Code Sample +=========== + +The following code sample illustrates many of the coding guidelines one should +follow in Pylearn. + +.. code-block:: python + + import os, sys, time +