Skip to content

Libdoc does not show inits having only named-only arguments #4820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pekkaklarck opened this issue Jul 14, 2023 · 1 comment
Closed

Libdoc does not show inits having only named-only arguments #4820

pekkaklarck opened this issue Jul 14, 2023 · 1 comment

Comments

@pekkaklarck
Copy link
Member

For example, the following __init__ in the following example isn't shown in Libdoc outputs at all:

class mylib:
    def __init__(self, *, pos1=None, pos2=None):
        ...
    def kw(self):
        ...

Thanks @Snooz82 for reporting this issue on our Slack.

@pekkaklarck
Copy link
Member Author

Luckily the issue is only with Libdoc. This kind of library can be used just fine otherwise. The issue is also trivial to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant