Closed kkroening closed 7 years ago
Hi, thanks for the reporting this issue. It's definitely not normal, but a bug in Pydocmd in Python 2. inspect.signature()
was added in Python 3.5. I'll have to manually generate nice docs from the argspec instead of using the signature()
function.
Correction: inspect.signature()
was added in Python 3 (only considering 3.3+), so we only have to do custom argument formatting in Python 2.
Thanks!
I'm probably doing something dumb or not understanding the instructions in the readme, but I can't seem to get the
+
suffix to work.Here's an example:
pydocmd
generates output for myfoo.py
module:But it doesn't include docs for functions in the module. If I add
+
on the end of the command it blows up:The same error happens if I use
generate
in apydocmd.yml
file:Again, works fine if I just specify
foo
but it doesn't include anything within the module, and adding+
makes it blow up.Is this normal? Am I doing it wrong?