Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9219815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:12:08+00:00 2026-06-18T03:12:08+00:00

Using epydoc, version 3.0.1. I tried this simple thing : def SetNetwork(self, PyLabNetwork net):

  • 0

Using epydoc, version 3.0.1.

I tried this simple thing :

def SetNetwork(self, PyLabNetwork net):
    """
    Set the net !!!
    @param self: How long they should think.
    @type self: C{int} or L{PyLabNetwork}
    @param net: How long they should think.
    @type net: C{int} or L{PyLabNetwork}
    """
    self.network = net

Ran this :

epydoc -v -o ./html --name epydoc --css white --docformat epytext cyelp

But in the html produced by epydoc, the methods prototype still appears with 3 successive dots instead of the described parameters :

SetNetwork(...) << ??? NOTHING INSIDE ???

Set the net !!!

Parameters:

        self (int or PyLabNetwork) - How long they should think.
        net (int or PyLabNetwork) - How long they should think.

Any idea ?
Thanks a lot

EDIT : Sorry, I just tested a simple script that work perfectly. The previous case didn’t work because it is a shared object (.so) compiled with Cython. It makes a difference. The source cannot be displayed either. I thought epydoc was working only on the docstrings, regarding the parsing of the functions prototype, but it appears to be a little bit more complicated than that…

EDIT2 : Moreover, if I compile passing the “embedsignature” cython compilation directive to “True”, I get something – which is still wrong but I understand better the phenomenon :

SetNetwork(...)


PyLabNode.SetNetwork(self, PyLabNetwork net)

Set the net !!!

Parameters:

        self (int or PyLabNetwork) - How long they should think.
        net (int or PyLabNetwork) - How long they should think.

Aka : epydoc doesn’t understand the cythonized signatures the way they are embedded…

If you have more specific explanations, I’m still your man.
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T03:12:09+00:00Added an answer on June 18, 2026 at 3:12 am

    Got it.

    I removed the cython compilation directive, which was sending signatures that epydoc could not understand like :

    PyLabNode.SetNetwork(self, PyLabNetwork net)
    

    This has 2 drawback : The dotted notation for the class prefix and the typed parameter.

    And replaced it by a python well formed one as the very first line of the doc string, giving :

    def SetNetwork(self, PyLabNetwork net):
        """
        SetNetwork(self, net)
        Set the net !!!
        @param self: Handler to this.
        @type self: L{PyLabNode}
        @param net: The network this node belongs to.
        @type net: L{PyLabNetwork}
        """
        self.network = net
    

    That did the trick. Hope this can help some people.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Play 2.1-RC1 I can't write simple test. Here's the action code: def echoTestTagFromXml
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using CI for the first time and i'm smashing my head with this seemingly
Using the example here as a starting point, I set out to customize my
using phpPgAdmin, I've tried to create a table in my database. But am getting
Using this as an example, how could I scale the graphic such that it's
Using this is very helpful when trying to generate html code in c#. var
Using ember 1.0.0-pre3 I have a little app that has this code: window.App =
Using this code, the following execution yields strange results: C 100 R W The
using xmltextreader, how would I load a hashtable. XML: <base><user name=john>2342343</user><user name=mark>239099393</user></base> This was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.