Skip to content

Commit 45a87a8

Browse files
Denton-Lgitster
authored andcommitted
CodingGuidelines: specify Python 2.7 is the oldest version
In 0b4396f (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent af6b65d commit 45a87a8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Documentation/CodingGuidelines

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -483,16 +483,11 @@ For Python scripts:
483483

484484
- We follow PEP-8 (http://www.python.org/dev/peps/pep-0008/).
485485

486-
- As a minimum, we aim to be compatible with Python 2.6 and 2.7.
486+
- As a minimum, we aim to be compatible with Python 2.7.
487487

488488
- Where required libraries do not restrict us to Python 2, we try to
489489
also be compatible with Python 3.1 and later.
490490

491-
- When you must differentiate between Unicode literals and byte string
492-
literals, it is OK to use the 'b' prefix. Even though the Python
493-
documentation for version 2.6 does not mention this prefix, it has
494-
been supported since version 2.6.0.
495-
496491
Error Messages
497492

498493
- Do not end error messages with a full stop.

0 commit comments

Comments
 (0)