summaryrefslogtreecommitdiffstats
path: root/Doc/library/unicodedata.rst
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-05-04 01:41:20 (GMT)
committerGitHub <noreply@github.com>2017-05-04 01:41:20 (GMT)
commitaf71364c3f0e9cd6cb9d83194315af0ee3c783d2 (patch)
treeb627e3df907affec830432711f79e119ee903d21 /Doc/library/unicodedata.rst
parent833dcb62594cc7a834f63ac8f1c312f2ac24d393 (diff)
downloadcpython-af71364c3f0e9cd6cb9d83194315af0ee3c783d2.zip
cpython-af71364c3f0e9cd6cb9d83194315af0ee3c783d2.tar.gz
cpython-af71364c3f0e9cd6cb9d83194315af0ee3c783d2.tar.bz2
[3.6] bpo-28315: Improve code examples in docs (GH-1372) (#1445)
Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module> (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
Diffstat (limited to 'Doc/library/unicodedata.rst')
-rw-r--r--Doc/library/unicodedata.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst
index 6431809..2a97776 100644
--- a/Doc/library/unicodedata.rst
+++ b/Doc/library/unicodedata.rst
@@ -158,7 +158,7 @@ Examples:
9
>>> unicodedata.decimal('a')
Traceback (most recent call last):
- File "<stdin>", line 1, in ?
+ File "<stdin>", line 1, in <module>
ValueError: not a decimal
>>> unicodedata.category('A') # 'L'etter, 'u'ppercase
'Lu'