[Python-Dev] a quit that actually quits

Fredrik Lundh fredrik at pythonware.com
Thu Dec 29 17:20:22 CET 2005


Fernando Perez wrote:

> In [1]: x='hello'
>
> In [2]: x?
/.../
> Docstring:
>     str(object) -> string
>
>     Return a nice string representation of the object.
>     If the argument is a string, the return value is the same object.

I'm not sure what I find more confusing: a help system that claims that
the variable x returns a nice string representation of an object, or that
there's no help to be found for "hello".

>>> x = "hello"
>>> help(x)
no Python documentation found for 'hello'

</F>





More information about the Python-Dev mailing list