]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/contributing/coding_style.rst
mempool: fix crash when handler not found
[dpdk.git] / doc / guides / contributing / coding_style.rst
index ad1392d2e426d91a9ab6bb11dc6253a307e999ba..4163960c96c7f8d07533d06c566034785fd08111 100644 (file)
@@ -685,3 +685,12 @@ Control Statements
                  usage();
                  /* NOTREACHED */
          }
+
+
+Python Code
+-----------
+
+All Python code should work with Python 2.7+ and 3.2+ and be compliant with
+`PEP8 (Style Guide for Python Code) <https://www.python.org/dev/peps/pep-0008/>`_.
+
+The ``pep8`` tool can be used for testing compliance with the guidelines.