third_party.pylibs.pylint.src/pylint/test/input/func_indent.py

25 lines
469 B
Python
Raw Normal View History

# pylint: disable=print-statement
2006-04-26 10:48:09 +00:00
"""docstring"""
__revision__ = '$Id: func_indent.py,v 1.4 2003-10-17 21:59:31 syt Exp $'
def totoo():
"""docstring"""
print 'malindented'
def tutuu():
"""docstring"""
print 'good indentation'
def titii():
"""also malindented"""
1 # and this.
2006-04-26 10:48:09 +00:00
def tataa(kdict):
"""blank line unindented"""
2006-11-23 12:56:41 +00:00
for key in ['1', '2', '3']:
2006-04-26 10:48:09 +00:00
key = key.lower()
2013-06-18 12:36:29 +00:00
2006-04-26 10:48:09 +00:00
if kdict.has_key(key):
del kdict[key]