[New-bugs-announce] [issue8164] (lambda:"foo").func_doc

Armin Rigo report at bugs.python.org
Wed Mar 17 17:28:32 CET 2010


New submission from Armin Rigo <arigo at users.sourceforge.net>:

Lambdas are a bit confused about their docstrings.  Usually they don't have any, but:

    >>> (lambda x: "foo"+x).func_doc

    'foo'

----------
keywords: easy
messages: 101233
nosy: arigo
priority: low
severity: normal
status: open
title: (lambda:"foo").func_doc
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8164>
_______________________________________


More information about the New-bugs-announce mailing list