Large rework of code to use inspect.signature
rather than inspect.getargspec
. This is largely untested on Python 2, but works well on Python 3. There may be some issues with argument order on Python 2, but more testing is needed to be sure.
Major Changes:
- Based on
inspect.signature
rather thaninspect.getargspec
- Second internal class added to allow handling of documentation that cannot be obtained via introspection
- An example of this is indicating which errors may be raised and under which conditions