-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Improve the markup of powers in docs #28598
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
Conversation
@@ -41,7 +41,7 @@ IP addresses, networks and interfaces: | |||
|
|||
Return an :class:`IPv4Address` or :class:`IPv6Address` object depending on | |||
the IP address passed as argument. Either IPv4 or IPv6 addresses may be | |||
supplied; integers less than 2**32 will be considered to be IPv4 by default. | |||
supplied; integers less than ``2**32`` will be considered to be IPv4 by default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See how the GitHub syntax highlighter is confused with the old text.
converted to float and a float result is delivered. For example, ``10**2`` | ||
returns ``100``, but ``10**-2`` returns ``0.01``. | ||
converted to float and a float result is delivered. For example, ``pow(10, 2)`` | ||
returns ``100``, but ``pow(10, -2)`` returns ``0.01``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, I always found it weird not to use the function in question in those examples.
Thanks @serhiy-storchaka for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
Sorry, @serhiy-storchaka and @ambv, I could not cleanly backport this to |
Sorry @serhiy-storchaka and @ambv, I had trouble checking out the |
I'll deal with the conflicts. |
(cherry picked from commit 4f05f15) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-28607 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit 4f05f15) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-28608 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit 4f05f15) Co-authored-by: Serhiy Storchaka <[email protected]>
(cherry picked from commit 4f05f15) Co-authored-by: Serhiy Storchaka <[email protected]>
Thank you for backports @ambv. |
(cherry picked from commit 4f05f15) Co-authored-by: Serhiy Storchaka <[email protected]>
No description provided.