Exception in pydoc
Florian Ludwig
dino at phidev.org
Sat Feb 27 04:11:58 EST 2010
On Fri, 2010-02-26 at 13:49 -0300, Ricardo Aráoz wrote:
> Does pydoc only deal with ASCII?
UTF-8 in docstrings works for me.
Maybe:
* Its actually not UTF-8
* The console you're using doesn't support UTF-8 well
(note: I'm on linux, maybe its a problem with windows?)
code >>>
#!/usr/bin/env python
# -*- coding: utf-8 -*-
def foo():
"""Some ütf-8 docstring ∑ g⊙f (x)"""
return False
<<<EOF
>>> help(test)
Help on module test:
NAME
test - # -*- coding: utf-8 -*-
FILE
/tmp/test.py
FUNCTIONS
foo()
Some ütf-8 docstring ∑ g⊙f (x)
--
Florian Ludwig <dino at phidev.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-list/attachments/20100227/3646d425/attachment.sig>
More information about the Python-list
mailing list