Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This bundles together a handful of improvements to stubgenc. Each one has its own commit, but it can be somewhat time consuming to get a PR reviewed and merged, so I'm putting them together for the sake of expediency. I'll break them up if it is preferred. An overview of the main changes: - infer return types for known special methods: previously only argument types were inferred - check class docstrings for signatures in addition to `__init__`: shiboken binding generator is known to put constructor signatures in class docstrings rather than on `__init__` - use the list of analyzed modules to produce better imports: previously when given `foo.Bar.Spangle`, it was assumed that `import foo.Bar` should be added, however, it could be that `Bar.Spangle` refers to nested classes within the module `foo`. - when fixing up types, also process children of compound types - evaluate descriptors when getting members: necessary for shiboken bindings
- Loading branch information