# HG changeset patch # User Olivier Delalleau # Date 1284668738 14400 # Node ID 2da593b0f29d9722107d2c6ad04cf62514bf62b7 # Parent f6011a2aff0b4a21ae1c27d4f2d92b671790d74f API_coding_style: Moved code sample at end of document for better readability diff -r f6011a2aff0b -r 2da593b0f29d doc/v2_planning/API_coding_style.txt --- 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 +