Nie mam dostępu 2012/7/5, dleach <[email protected]>: > How do I get autodoc to highlight the optional parameters? > > The standard python documentation seems to use brackets ('[]') around the > optional parameters. Consider the following method defined in my zork.py > module: > > def zorky(a,b=none): > > def zorkz(a,b=none, c=none): > > Now what gets generated in html is: > > zork.zorky(a,b=none) > > zork.zorkz(a, b=none, c=none) > > what I would like though is: > > zork.zorky(a[, b=none]) > zork.zorky(a[, b=none[, c=none]]) > > > > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-dev" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/sphinx-dev/-/KIPh7x--iCQJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
