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 -rw-r--r-- 286 bytes
Python.h -rw-r--r-- 122 bytes
abstract.h -rw-r--r-- 25.2 KB
accessobject.h -rw-r--r-- 2.4 KB
allobjects.h -rw-r--r-- 2.9 KB
assert.h -rw-r--r-- 1.6 KB
bitset.h -rw-r--r-- 2.0 KB
bltinmodule.h -rw-r--r-- 1.5 KB
ceval.h -rw-r--r-- 3.7 KB
cgensupport.h -rw-r--r-- 2.0 KB
classobject.h -rw-r--r-- 2.8 KB
cobject.h -rw-r--r-- 2.2 KB
compile.h -rw-r--r-- 2.5 KB
complexobject.h -rw-r--r-- 1.4 KB
config.h -rwxr-xr-x 3.2 KB
dictobject.h -rw-r--r-- 1.4 KB
errcode.h -rw-r--r-- 2.1 KB
eval.h -rw-r--r-- 1.4 KB
fileobject.h -rw-r--r-- 2.0 KB
floatobject.h -rw-r--r-- 1.8 KB
frameobject.h -rw-r--r-- 3.8 KB
funcobject.h -rw-r--r-- 2.0 KB
graminit.h -rw-r--r-- 1.2 KB
grammar.h -rw-r--r-- 3.2 KB
import.h -rw-r--r-- 2.2 KB
intobject.h -rw-r--r-- 2.9 KB
intrcheck.h -rw-r--r-- 1.4 KB
listobject.h -rw-r--r-- 2.9 KB
longintrepr.h -rw-r--r-- 2.9 KB
longobject.h -rw-r--r-- 1.8 KB
mappingobject.h -rw-r--r-- 2.4 KB
marshal.h -rw-r--r-- 1.8 KB
metagrammar.h -rw-r--r-- 1.4 KB
methodobject.h -rw-r--r-- 2.4 KB
modsupport.h -rw-r--r-- 3.7 KB
moduleobject.h -rw-r--r-- 1.6 KB
mymalloc.h -rw-r--r-- 2.6 KB
mymath.h -rw-r--r-- 545 bytes
myproto.h -rw-r--r-- 1.5 KB
myselect.h -rw-r--r-- 2.5 KB
mytime.h -rw-r--r-- 1.6 KB
node.h -rw-r--r-- 2.1 KB
object.h -rw-r--r-- 15.8 KB
objimpl.h -rw-r--r-- 3.1 KB
opcode.h -rw-r--r-- 4.6 KB
osdefs.h -rw-r--r-- 1.9 KB
parsetok.h -rw-r--r-- 1.7 KB
patchlevel.h -rw-r--r-- 25 bytes
pgenheaders.h -rw-r--r-- 2.5 KB
pydebug.h -rw-r--r-- 1.5 KB
pyerrors.h -rw-r--r-- 3.0 KB
pythonrun.h -rw-r--r-- 2.2 KB
pythread.h -rw-r--r-- 1.1 KB
rangeobject.h -rw-r--r-- 1.6 KB
rename1.h -rwxr-xr-x 12.7 KB
rename2.h -rw-r--r-- 15.6 KB
sliceobject.h -rw-r--r-- 900 bytes
stringobject.h -rw-r--r-- 2.9 KB
structmember.h -rw-r--r-- 3.0 KB
sysmodule.h -rw-r--r-- 1.7 KB
thread.h -rw-r--r-- 1.1 KB
token.h -rw-r--r-- 2.5 KB
traceback.h -rw-r--r-- 1.7 KB
tupleobject.h -rw-r--r-- 2.7 KB

back to top