Staging
v0.8.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-- 1.8 KB
acceler.c -rw-r--r-- 4.1 KB
assert.h -rw-r--r-- 1.6 KB
bitset.c -rw-r--r-- 2.2 KB
firstsets.c -rw-r--r-- 3.3 KB
grammar.c -rw-r--r-- 5.4 KB
grammar1.c -rw-r--r-- 2.1 KB
intrcheck.c -rw-r--r-- 3.6 KB
listnode.c -rw-r--r-- 2.2 KB
metagrammar.c -rw-r--r-- 3.3 KB
myreadline.c -rw-r--r-- 4.3 KB
node.c -rw-r--r-- 2.4 KB
parser.c -rw-r--r-- 9.1 KB
parser.h -rw-r--r-- 2.1 KB
parsetok.c -rw-r--r-- 4.1 KB
pgen.c -rw-r--r-- 15.5 KB
pgen.h -rw-r--r-- 1.5 KB
pgenmain.c -rw-r--r-- 4.4 KB
printgrammar.c -rw-r--r-- 3.7 KB
tokenizer.c -rw-r--r-- 15.3 KB
tokenizer.h -rw-r--r-- 2.7 KB

back to top