summaryrefslogtreecommitdiffstats
path: root/Doc/reference/datamodel.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-09-28 20:40:57 (GMT)
committerGitHub <noreply@github.com>2021-09-28 20:40:57 (GMT)
commit4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27 (patch)
treeda653177934ecf5a2dc4a6c5efa3e25452ead2b7 /Doc/reference/datamodel.rst
parent0c50b8c0b8274d54d6b71ed7bd21057d3642f138 (diff)
downloadcpython-4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27.zip
cpython-4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27.tar.gz
cpython-4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27.tar.bz2
[docs] Improve the markup of powers (GH-28598)
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 181e445..f1334f0 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1558,7 +1558,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.