Skip to content
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

[mypyc] Small documentation updates #10184

Merged
merged 3 commits into from
Mar 8, 2021

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:

@@ -38,7 +38,7 @@ can be assigned to (similar to using ``__slots__``)::
def method(self) -> None:
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).

@@ -6,6 +6,7 @@ __pycache__
/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