[docs] [issue24005] Documentation Error: Extra line Break
Jaivish Kothari
report at bugs.python.org
Sun Apr 19 12:29:29 CEST 2015
New submission from Jaivish Kothari:
https://docs.python.org/2/whatsnew/2.4.html?highlight=decorators#pep-318-decorators-for-functions-and-methods
'''
def require_int (func):
def wrapper (arg):
assert isinstance(arg, int)
return func(arg)
return wrapper
'''
New line is ommited before return wrapper
'''
def require_int (func):
def wrapper (arg):
assert isinstance(arg, int)
return func(arg)
return wrapper
'''
----------
assignee: docs at python
components: Documentation
messages: 241508
nosy: docs at python, georg.brandl, janonymous
priority: normal
severity: normal
status: open
title: Documentation Error: Extra line Break
type: enhancement
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24005>
_______________________________________
More information about the docs
mailing list