Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add --include-private option to stubgen to include private members. #3367
I've found this option to be useful when generating stubs for some third party modules. It can also be useful when using stubs for internal use in place of comments annotations in python2. In this scenario, where stubs are used to type check their corresponding files, you can't omit members.