Improve the markup of powers in docs#28598
Conversation
| 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.
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.
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 <storchaka@gmail.com>
|
GH-28607 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit 4f05f15) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-28608 is a backport of this pull request to the 3.9 branch. |
|
Thank you for backports @ambv. |
No description provided.