[issue26483] docs unclear on difference between str.isdigit() and str.isdecimal()

Dec. 1, 2016
3:12 a.m.
Martin Panter added the comment: “digits which do not form decimal radix forms” I see you have taken this from a Unicode document, but “forming a form” seems a long way of saying very little. The difference seems a bit vague, but I gather that digits not in the Unicode “decimal digit” category are often (always?) still decimal digits, but primarily used for a symbolic or typographical meaning more than in a plain number, e.g. superscripts, subscripts and other fonts, added circles and other decorations. ---------- stage: needs patch -> patch review versions: +Python 3.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue26483> _______________________________________
3008
Age (days ago)
3008
Last active (days ago)
0 comments
1 participants
participants (1)
-
Martin Panter