[docs] [issue31564] NewType can subclass NewType

Terji report at bugs.python.org
Sat Sep 23 17:35:05 EDT 2017

New submission from Terji:

It has become possible to create a ``NewType`` from an existing  ``NewType``, see https://github.com/python/mypy/pull/3465 and https://github.com/python/peps/pull/271.

This is a small update to the documentation as a concequence of the above change.

assignee: docs at python
components: Documentation
messages: 302809
nosy: Petersen, docs at python
priority: normal
severity: normal
status: open
title: NewType can subclass NewType
type: enhancement
versions: Python 3.6, Python 3.7

Python tracker <report at bugs.python.org>

More information about the docs mailing list