summaryrefslogtreecommitdiff
path: root/Documentation/CodingGuidelines
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-06-07 10:21:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-06-08 17:32:42 (GMT)
commit45a87a83bb5eb146816bc98026fafaa9d912fc92 (patch)
treee82b57bda22e8d6fd572e76b09ca72cbc5ef9a60 /Documentation/CodingGuidelines
parentaf6b65d45ef179ed52087e80cb089f6b2349f4ec (diff)
downloadgit-45a87a83bb5eb146816bc98026fafaa9d912fc92.zip
git-45a87a83bb5eb146816bc98026fafaa9d912fc92.tar.gz
git-45a87a83bb5eb146816bc98026fafaa9d912fc92.tar.bz2
CodingGuidelines: specify Python 2.7 is the oldest version
In 0b4396f068 (git-p4: make python2.7 the oldest supported version, 2019-12-13), git-p4 was updated to only support 2.7 and newer. Since Python 2.6 is pretty much ancient history, update CodingGuidelines to show that 2.7 is the oldest version supported. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/CodingGuidelines')
-rw-r--r--Documentation/CodingGuidelines7
1 files changed, 1 insertions, 6 deletions
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
index ed4e443..11a4d96 100644
--- a/Documentation/CodingGuidelines
+++ b/Documentation/CodingGuidelines
@@ -483,16 +483,11 @@ For Python scripts:
- We follow PEP-8 (http://www.python.org/dev/peps/pep-0008/).
- - As a minimum, we aim to be compatible with Python 2.6 and 2.7.
+ - As a minimum, we aim to be compatible with Python 2.7.
- Where required libraries do not restrict us to Python 2, we try to
also be compatible with Python 3.1 and later.
- - When you must differentiate between Unicode literals and byte string
- literals, it is OK to use the 'b' prefix. Even though the Python
- documentation for version 2.6 does not mention this prefix, it has
- been supported since version 2.6.0.
-
Error Messages
- Do not end error messages with a full stop.