summaryrefslogtreecommitdiffstats
path: root/Doc/reference/datamodel.rst
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2021-09-28 21:09:58 (GMT)
committerGitHub <noreply@github.com>2021-09-28 21:09:58 (GMT)
commit8f9d398b46e5e932118094854110584f465a8179 (patch)
tree12d54932a26e1be85905825fc8863c8ab82f9588 /Doc/reference/datamodel.rst
parent6d604494564e86436da207cc5ebd3d6823db988d (diff)
downloadcpython-8f9d398b46e5e932118094854110584f465a8179.zip
cpython-8f9d398b46e5e932118094854110584f465a8179.tar.gz
cpython-8f9d398b46e5e932118094854110584f465a8179.tar.bz2
[3.10] [docs] Improve the markup of powers (GH-28598) (GH-28607)
(cherry picked from commit 4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/reference/datamodel.rst')
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 3713f04..310167e 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1523,7 +1523,7 @@ Basic customization
This is intended to provide protection against a denial-of-service caused
by carefully-chosen inputs that exploit the worst case performance of a
- dict insertion, O(n^2) complexity. See
+ dict insertion, O(n\ :sup:`2`) complexity. See
http://www.ocert.org/advisories/ocert-2011-003.html for details.
Changing hash values affects the iteration order of sets.