Commit Graph

24 Commits

Author SHA1 Message Date
Barry Warsaw 9cf4bde5e6 Braces are required. (#280)
Closes #279
2017-06-01 19:04:40 -04:00
Oren Milman 1085515c33 add curly braces to a single-line if block example in PEP 7 (#225) 2017-03-14 10:35:27 -07:00
Benjamin Peterson 722ccda54a we need fixed width integer types 2016-09-07 16:22:00 -07:00
Benjamin Peterson 437903fa0f c++-style comments are kosher, too 2016-09-07 14:49:55 -07:00
Benjamin Peterson b6efe6e06f allow some c99 2016-09-07 10:55:49 -07:00
Marti Raudsepp 04a6af2ab1 Fix various typos, spelling and grammar errors
Errors detected using Topy (https://github.com/intgr/topy), all changes
verified by hand.
2016-07-11 18:35:35 +03:00
Brett Cannon 7c2c1021ef Update PEP 7 to strongly encourage curly braces with conditional
statements.
2016-01-20 19:19:42 -08:00
Brett Cannon 70cff256c5 Undo accidental part of a commit 2016-01-20 19:18:33 -08:00
Brett Cannon 5a91baba5d Minor clarification for PEP 512 2016-01-19 12:17:28 -08:00
Georg Brandl 3153cd2e37 Convert PEP 7 and PEP 8 to rst. 2012-03-15 08:18:38 +01:00
Benjamin Peterson a594304e82 we welcome all bracing styles 2012-01-02 19:08:51 -06:00
Georg Brandl 8def3e9cac Actually use 4-space indents in the PEP too. 2010-11-20 14:08:26 +00:00
Daniel Stutzbach 592702b5ea Updated PEP-0007 to refer to PyAPI_FUNC instead of DL_IMPORT, which
was deprecated in Python 2.3.
2010-09-02 14:57:18 +00:00
Antoine Pitrou bb0c95814a Update PEP 7. All C files should now use 4-space indents. 2010-05-09 18:28:43 +00:00
Georg Brandl df7739e894 Fix PEP urls. 2008-08-10 17:25:11 +00:00
Barry Warsaw ae4547d325 update some urls 2008-08-10 13:59:20 +00:00
Georg Brandl 233c85b67a Clarify indentation policy for old and new files. 2008-05-22 18:50:30 +00:00
Brett Cannon 9fe45a32c3 Make all meta-PEPs be Process PEPs. 2007-06-19 04:52:34 +00:00
Georg Brandl fa374a2c14 New C files in 2.x are using 4-space indents, too. 2006-05-26 10:12:32 +00:00
Guido van Rossum 85f11c2af4 Record that the Py3k C coding style will use 4 spaces, no tabs.
And record when it's okay to reformat a file to conform.
2006-04-24 18:52:08 +00:00
David Goodger c5b5d3c83d added Last-Modified headers to all PEPs without 2006-03-23 20:13:19 +00:00
Fred Drake 3951e91c08 Add information about writing docstrings in C code. 2002-06-20 18:56:11 +00:00
Barry Warsaw 3197c4a15c Add a reference to PEP 8 2001-07-05 18:53:01 +00:00
Guido van Rossum b43961fd5d Style Guide for C Code 2001-07-05 14:16:35 +00:00