KEMBAR78
[mypyc] Small documentation updates by thomasjohns · Pull Request #10184 · python/mypy · GitHub
Skip to content

Conversation

thomasjohns
Copy link
Contributor

Here are a few updates/fixes after a read through the mypyc docs.

For the corresponding primitive method updates, see:

self.z = "x"

o = Cls()
o = Cls(0)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allowed this piece of code to compile for me (__init__ is expecting one non-self argument).

/env*/
docs/build/
docs/source/_build
mypyc/doc/_build
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the default directory generated from running make html inside mypyc/doc/.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for the updates!

@JukkaL JukkaL merged commit 28034cc into python:master Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants