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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
Parser
Python
Tools
.hgtags -rw-r--r-- 762 bytes
BUGS -rw-r--r-- 11.6 KB
Makefile.in -rw-r--r-- 13.9 KB
README -rw-r--r-- 27.9 KB
TODO -rw-r--r-- 15.9 KB
acconfig.h -rw-r--r-- 2.6 KB
config.h.in -rw-r--r-- 8.7 KB
configure -rwxr-xr-x 94.4 KB
configure.in -rw-r--r-- 13.9 KB
install-sh -rwxr-xr-x 2.1 KB

README

back to top