aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-10-08 16:29:52 +0300
committerGitHub <noreply@github.com>2019-10-08 16:29:52 +0300
commit13abda41003daf599587991d8291f0dacf6e9519 (patch)
treef86d3dea6c84355c49f36bea32bf1ed846f8b447 /Lib/typing.py
parentbpo-36698: IDLE no longer fails when write non-encodable characters to stderr... (diff)
downloadcpython-13abda41003daf599587991d8291f0dacf6e9519.tar.gz
cpython-13abda41003daf599587991d8291f0dacf6e9519.tar.bz2
cpython-13abda41003daf599587991d8291f0dacf6e9519.zip
bpo-38405: Make nested subclasses of typing.NamedTuple pickleable. (GH-16641)
Diffstat (limited to 'Lib/typing.py')
-rw-r--r--Lib/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typing.py b/Lib/typing.py
index 2c75a769648..0e842ff9f20 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -1593,7 +1593,7 @@ _prohibited = ('__new__', '__init__', '__slots__', '__getnewargs__',
'_fields', '_field_defaults', '_field_types',
'_make', '_replace', '_asdict', '_source')
-_special = ('__module__', '__name__', '__qualname__', '__annotations__')
+_special = ('__module__', '__name__', '__annotations__')
class NamedTupleMeta(type):