From 27afc3e578d38279085ad2984c8ff2f9e0484540 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 13 Oct 2011 23:08:45 +0200 Subject: CodingStyle: Add some notes about Python 2.4 compatibility. --- README.Coding | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'README.Coding') diff --git a/README.Coding b/README.Coding index 12997ccf9ad..84162908610 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. -- cgit v1.2.1