summaryrefslogtreecommitdiff
path: root/doc/neps
diff options
context:
space:
mode:
authorStephan Hoyer <shoyer@google.com>2018-10-14 14:01:01 -0700
committerStephan Hoyer <shoyer@google.com>2018-10-14 14:09:41 -0700
commitb9f7fd6dd36acd97776dbbb6dacc99140833cb8b (patch)
treeb605e4fe45b4445d01c5e87817e5bf02720544da /doc/neps
parent21919b68f9f1d3c5064e7a74849dd7db12a61bd0 (diff)
downloadnumpy-b9f7fd6dd36acd97776dbbb6dacc99140833cb8b.tar.gz
NEP: mark NEP-16 as withdrawn in favor of a protocol
Diffstat (limited to 'doc/neps')
-rw-r--r--doc/neps/nep-0016-abstract-array.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/neps/nep-0016-abstract-array.rst b/doc/neps/nep-0016-abstract-array.rst
index 13f7d58ca..d3c2860a7 100644
--- a/doc/neps/nep-0016-abstract-array.rst
+++ b/doc/neps/nep-0016-abstract-array.rst
@@ -3,10 +3,15 @@ An abstract base class for identifying "duck arrays"
====================================================
:Author: Nathaniel J. Smith <njs@pobox.com>
-:Status: Draft
+:Status: Withdrawn
:Type: Standards Track
:Created: 2018-03-06
+.. note::
+
+ This NEP has been withdrawn in favor of the protocol based approach
+ described in
+ `NEP 22 <http://www.numpy.org/neps/nep-0022-ndarray-duck-typing-overview.html>`__
Abstract
--------
@@ -224,7 +229,7 @@ well, since it's used by ``asabstractarray``. We might also want to go
ahead and add some basic attributes like ``ndim``, ``shape``,
``dtype``.
-Adding new abstract methods will be a bit trick, because ABCs enforce
+Adding new abstract methods will be a bit tricky, because ABCs enforce
these at subclass time; therefore, simply adding a new
`@abstractmethod` will be a backwards compatibility break. If this
becomes a problem then we can use some hacks to implement an