summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2021-09-28 21:09:58 (GMT)
committerPablo Galindo <pablogsal@gmail.com>2021-09-29 11:29:25 (GMT)
commita8c3e0bfbe5d2b15fa1451bcb08383ea0dc1c762 (patch)
tree0a42cf4ab68120432e5c665a08d339f1e03a1d03 /Doc/reference
parent2ca4ab8031107f9e474e2ce26561ab9ad51faf9c (diff)
downloadcpython-a8c3e0bfbe5d2b15fa1451bcb08383ea0dc1c762.zip
cpython-a8c3e0bfbe5d2b15fa1451bcb08383ea0dc1c762.tar.gz
cpython-a8c3e0bfbe5d2b15fa1451bcb08383ea0dc1c762.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')
-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 7b54f44..80da703 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1524,7 +1524,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.