Skip to content

Conversation

@teskje
Copy link
Contributor

@teskje teskje commented Oct 1, 2018

This PR fixes two issues with said code sample:

  • The math import was missing.
  • The function argument didn't match the variable name used in the function body.

Also made comment spacing consistent.

This commit fixes two issues with said code sample:
  - The math import was missing.
  - The function argument didn't match the variable name used in the
    function body.

Also made comment spacing consistent.
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

Thanks! That was embarrassing (especially the variable name mismatch).

@ilevkivskyi ilevkivskyi merged commit dfbf24c into python:master Oct 1, 2018
TV4Fun pushed a commit to TV4Fun/mypy that referenced this pull request Oct 4, 2018
…on#5711)

This commit fixes two issues with said code sample:
  - The math import was missing.
  - The function argument didn't match the variable name used in the
    function body.

Also made comment spacing consistent.
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.

3 participants