[Python-checkins] CVS: python/nondist/peps pep-0007.txt,1.1,1.2
Barry Warsaw
bwarsaw@users.sourceforge.net
Thu, 05 Jul 2001 11:53:03 -0700
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv30523
Modified Files:
pep-0007.txt
Log Message:
Add a reference to PEP 8
Index: pep-0007.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0007.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** pep-0007.txt 2001/07/05 14:16:35 1.1
--- pep-0007.txt 2001/07/05 18:53:01 1.2
***************
*** 11,15 ****
This document gives coding conventions for the C code comprising
! the C implementation of Python.
Note, rules are there to be broken. Two good reasons to break a
--- 11,16 ----
This document gives coding conventions for the C code comprising
! the C implementation of Python. Please see the companion
! informational PEP describing style guidelines for Python code[1].
Note, rules are there to be broken. Two good reasons to break a
***************
*** 138,141 ****
--- 139,148 ----
- Macros should have a MixedCase prefix and then use upper case,
for example: PyString_AS_STRING, Py_PRINT_RAW.
+
+
+ References
+
+ [1] PEP 8, Style Guide for Python Code, van Rossum, Warsaw
+ http://www.python.org/peps/pep-0008.html