diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-10-13 23:08:45 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-10-14 00:22:57 +0200 |
commit | 27afc3e578d38279085ad2984c8ff2f9e0484540 (patch) | |
tree | f4534159b17d119b41415a3c162bc64624e8f7ee | |
parent | be7a75b29a5481c8a4fd52cc1d7fb2d329f88898 (diff) | |
download | samba-27afc3e578d38279085ad2984c8ff2f9e0484540.tar.gz samba-27afc3e578d38279085ad2984c8ff2f9e0484540.tar.bz2 samba-27afc3e578d38279085ad2984c8ff2f9e0484540.zip |
CodingStyle: Add some notes about Python 2.4 compatibility.
-rw-r--r-- | README.Coding | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/README.Coding b/README.Coding index 12997ccf9a..8416290861 100644 --- a/README.Coding +++ b/README.Coding @@ -21,9 +21,13 @@ coding style (See Documentation/CodingStyle in the kernel source tree). This closely matches what most Samba developers use already anyways, with a few exceptions as mentioned below. -The coding style for Python code is documented in PEP8, http://www.python.org/pep/pep8. -If you have ever worked on another free software python project, you are probably -already familiar with it. +The coding style for Python code is documented in PEP8, +http://www.python.org/pep/pep8 (with spaces). +If you have ever worked on another free software Python project, you are +probably already familiar with it. + +We try to stay compatible with Python 2.4, so please don't rely on any +features that were introduced later, such as the "with" statement. But to save you the trouble of reading the Linux kernel style guide, here are the highlights. |