Staging
v0.5.1
https://github.com/python/cpython
Revision 7cb505c89b8f7f8af9f460a871de6bb4a1ec6d96 authored by Barry Warsaw on 23 October 1996, 20:44:59 UTC, committed by Barry Warsaw on 23 October 1996, 20:44:59 UTC
defeat extra outdentation for block closing statements (return, raise,
break, continue, pass).

(py-compute-indentation): extra argument to honor block closing
statements.

(py-electric-colon, py-indent-region): use py-compute-indentation's
extra argument

(py-statement-closes-block-p): `pass' treated as a block closing
statement.
1 parent 0cbaff4
History
Tip revision: 7cb505c89b8f7f8af9f460a871de6bb4a1ec6d96 authored by Barry Warsaw on 23 October 1996, 20:44:59 UTC
(py-indent-line): take an optional universal argument which says to
Tip revision: 7cb505c
File Mode Size
Makefile.in -rw-r--r-- 2.3 KB
abstract.c -rw-r--r-- 21.7 KB
accessobject.c -rw-r--r-- 8.0 KB
classobject.c -rw-r--r-- 31.5 KB
cobject.c -rw-r--r-- 2.9 KB
complexobject.c -rw-r--r-- 11.4 KB
dictobject.c -rw-r--r-- 19.1 KB
fileobject.c -rw-r--r-- 15.1 KB
floatobject.c -rw-r--r-- 10.5 KB
frameobject.c -rw-r--r-- 9.1 KB
funcobject.c -rw-r--r-- 4.8 KB
intobject.c -rw-r--r-- 15.2 KB
listobject.c -rw-r--r-- 14.8 KB
longobject.c -rw-r--r-- 29.0 KB
mappingobject.c -rw-r--r-- 19.1 KB
methodobject.c -rw-r--r-- 5.5 KB
moduleobject.c -rw-r--r-- 4.1 KB
object.c -rw-r--r-- 13.0 KB
rangeobject.c -rw-r--r-- 5.2 KB
sliceobject.c -rw-r--r-- 3.7 KB
stringobject.c -rw-r--r-- 19.3 KB
tupleobject.c -rw-r--r-- 9.8 KB
typeobject.c -rw-r--r-- 2.5 KB
xxobject.c -rw-r--r-- 3.6 KB

back to top