Exception in pydoc

Florian Ludwig dino at phidev.org
Sat Feb 27 10:11:58 CET 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. 

* 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

>>> help(test)
Help on module test:

    test - # -*- coding: utf-8 -*-


        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.pgp>

More information about the Python-list mailing list