epydoc, variables and encoding

M

Michele Petrazzo

I found a "problem" on epydoc. If I specify an encoding, epydoc not find
my global variables, and if I remove it, it work well.

code.py:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

MY_VAR = None

class foo(object):
def __init__(self, foo):
"""
Some text
@param foo: Pass me what you want
@type foo: A type
@return: The object
"""
return foo

This not work (MY_VAR is silently skipped), but if I remove:
# -*- coding: utf-8 -*-

it see MY_VAR and put it to my html file.

Is it normal?

Thanks,
Michele
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,264
Messages
2,571,323
Members
48,005
Latest member
ChasityFan

Latest Threads

Top