Mention minimum version of python features one should stick to (#3588)
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Fri, 19 Jul 2019 16:21:25 +0000 (17:21 +0100)
committerTianqi Chen <tqchen@users.noreply.github.com>
Fri, 19 Jul 2019 16:21:25 +0000 (09:21 -0700)
docs/contribute/code_guide.rst

index 6a426b8..3d135eb 100644 (file)
@@ -38,6 +38,7 @@ Python Code Styles
 ------------------
 - The functions and classes are documented in `numpydoc <https://numpydoc.readthedocs.io/en/latest/>`_ format.
 - Check your code style using ``make pylint``
+- Stick to language features as in ``python 3.5``
 
 
 Handle Integer Constant Expression