From 5dbb9a10f1fdac810f0d5d1fc71d8b77ac307ca0 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Fri, 2 Aug 2013 20:28:35 +1000 Subject: [PATCH] Tweak source encoding wording --- pep-0008.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pep-0008.txt b/pep-0008.txt index 1b6ca55be..1c5df7070 100644 --- a/pep-0008.txt +++ b/pep-0008.txt @@ -244,14 +244,15 @@ you may use them to separate pages of related sections of your file. Note, some editors and web-based code viewers may not recognize control-L as a form feed and will show another glyph in its place. -Encodings (PEP 263) -------------------- + +Source File Encoding +-------------------- Code in the core Python distribution should always use UTF-8 (or ASCII in Python 2). -Files using ASCII (in Python 2) or UTF-8 (in Python 3) should not have a -coding cookie. +Files using ASCII (in Python 2) or UTF-8 (in Python 3) should not have +an encoding declaration. In the standard library, non-default encodings should be used only for test purposes or when a comment or docstring needs to mention an author