summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-06-18 04:54:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-06-18 04:54:05 (GMT)
commit6361eb73c6dc147e94b02673f387c0345d8d15d2 (patch)
treebdd50a8882e8eb5164f424b70f14e9edfacd1f1c /Documentation
parent653a3514cc7da856e265fe21711e7ef7b1e183f2 (diff)
parent45a87a83bb5eb146816bc98026fafaa9d912fc92 (diff)
downloadgit-6361eb73c6dc147e94b02673f387c0345d8d15d2.zip
git-6361eb73c6dc147e94b02673f387c0345d8d15d2.tar.gz
git-6361eb73c6dc147e94b02673f387c0345d8d15d2.tar.bz2
Merge branch 'dl/python-2.7-is-the-floor-version'
Document that we do not support Python 2.6 or older. * dl/python-2.7-is-the-floor-version: CodingGuidelines: specify Python 2.7 is the oldest version
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/CodingGuidelines7
1 files changed, 1 insertions, 6 deletions
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
index 227f46a..45465bc 100644
--- a/Documentation/CodingGuidelines
+++ b/Documentation/CodingGuidelines
@@ -489,16 +489,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.