changeset 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 7c5dc11c850a d7192e52653e
files doc/v2_planning/API_coding_style.txt
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
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
+