diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-02-26 16:50:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-26 16:50:11 +0200 |
commit | 3f2e6f15d64d81633b1fc0b308afc0d6e9026b61 (patch) | |
tree | 47fc15490c06e8d49f0750e8aa75352ef17cfc7c /Lib/turtle.py | |
parent | bpo-32922: dbm.open() now encodes filename with the filesystem encoding. (GH-... (diff) | |
download | cpython-3f2e6f15d64d81633b1fc0b308afc0d6e9026b61.tar.gz cpython-3f2e6f15d64d81633b1fc0b308afc0d6e9026b61.tar.bz2 cpython-3f2e6f15d64d81633b1fc0b308afc0d6e9026b61.zip |
Revert unneccessary changes made in bpo-30296 and apply other improvements. (GH-2624)
Diffstat (limited to 'Lib/turtle.py')
-rw-r--r-- | Lib/turtle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/turtle.py b/Lib/turtle.py index 8909fe914e7..9db564b7eb8 100644 --- a/Lib/turtle.py +++ b/Lib/turtle.py @@ -3839,7 +3839,7 @@ def write_docstringdict(filename="turtle_docstringdict"): docsdict[key] = eval(key).__doc__ with open("%s.py" % filename,"w") as f: - keys = sorted(x for x in docsdict.keys() + keys = sorted(x for x in docsdict if x.split('.')[1] not in _alias_list) f.write('docsdict = {\n\n') for key in keys[:-1]: |