Skip to content

Commit 6361eb7

Browse files
committed
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
2 parents 653a351 + 45a87a8 commit 6361eb7

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
@@ -489,16 +489,11 @@ For Python scripts:
489489

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

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

494494
- Where required libraries do not restrict us to Python 2, we try to
495495
also be compatible with Python 3.1 and later.
496496

497-
- When you must differentiate between Unicode literals and byte string
498-
literals, it is OK to use the 'b' prefix. Even though the Python
499-
documentation for version 2.6 does not mention this prefix, it has
500-
been supported since version 2.6.0.
501-
502497
Error Messages
503498

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

0 commit comments

Comments
 (0)