[Python-checkins] peps: Mark PEP 399 as final. Along the way update the post history and fix a
brett.cannon
python-checkins at python.org
Sat Aug 20 06:00:44 CEST 2011
http://hg.python.org/peps/rev/45f8a1095665
changeset: 3929:45f8a1095665
user: Brett Cannon <brett at python.org>
date: Fri Aug 19 21:00:37 2011 -0700
summary:
Mark PEP 399 as final. Along the way update the post history and fix a
very nit-picky detail that Benjamin pointed out.
files:
pep-0399.txt | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pep-0399.txt b/pep-0399.txt
--- a/pep-0399.txt
+++ b/pep-0399.txt
@@ -3,12 +3,12 @@
Version: $Revision: 88219 $
Last-Modified: $Date: 2011年01月27日 13:47:00 -0800 (2011年1月27日) $
Author: Brett Cannon <brett at python.org>
-Status: Draft
+Status: Final
Type: Informational
Content-Type: text/x-rst
Created: 04-Apr-2011
Python-Version: 3.3
-Post-History: 04-Apr-2011, 12-Apr-2011, 17-Jul-2011
+Post-History: 04-Apr-2011, 12-Apr-2011, 17-Jul-2011, 15-Aug-2011
Abstract
========
@@ -176,8 +176,8 @@
instance, if a function accepts a sequence then the C code should
default to using `PyObject_GetItem()` instead of something like
`PyList_GetItem()`. C code is allowed to have a fast path if the
-proper `PyList_Check()` is used, but otherwise APIs should work with
-any object that duck types to the proper interface instead of a
+proper `PyList_CheckExact()` is used, but otherwise APIs should work
+with any object that duck types to the proper interface instead of a
specific type.
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list