From c4132dd997cc5cb8691d2131533682d06adbba57 Mon Sep 17 00:00:00 2001 From: Hans Ginzel Date: Tue, 18 Feb 2025 21:51:30 +0100 Subject: [PATCH] Update pep-0515.rst Support Unicode imaginary signs, https://codepoints.net/U+2148, https://codepoints.net/U+2149 https://discourse.julialang.org/t/what-is-the-unicode-for-the-number-i-the-imaginary-unit-of-the-complex-numbers/30904 --- peps/pep-0515.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0515.rst b/peps/pep-0515.rst index 8187da9e44e..f7f4b3ec296 100644 --- a/peps/pep-0515.rst +++ b/peps/pep-0515.rst @@ -67,7 +67,7 @@ For floating-point and complex literals:: digitpart: digit (["_"] digit)* fraction: "." digitpart exponent: ("e" | "E") ["+" | "-"] digitpart - imagnumber: (floatnumber | digitpart) ("j" | "J") + imagnumber: (floatnumber | digitpart) ("j" | "J" | "ⅈ" | "ⅉ" | "𝑖") Constructors ------------