mirror of https://github.com/python/cpython.git
(python-cc-style): Added definitions for c-hanging-braces-alist which
make the most sense for PyMethodDef structures.
This commit is contained in:
parent
0b25a662e0
commit
7607e8f4fb
|
@ -27,8 +27,14 @@
|
|||
(defconst python-cc-style
|
||||
'((indent-tabs-mode . t)
|
||||
(c-basic-offset . 8)
|
||||
(c-offsets-alist . ((substatement-open . 0)
|
||||
))
|
||||
(c-offsets-alist . ((substatement-open . 0)
|
||||
))
|
||||
(c-hanging-braces-alist . ((brace-list-open after)
|
||||
(brace-list-intro)
|
||||
(brace-list-close)
|
||||
(substatement-open after)
|
||||
(block-close . c-snug-do-while)
|
||||
))
|
||||
)
|
||||
"Standard Python C coding style.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue