From a71fd71c3e994089f11d78f09ea844c14727c1d2 Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Tue, 2 May 2006 19:52:32 +0000 Subject: [PATCH] Documentation bug: PySet_Pop() returns a new reference (because the caller becomes the owner of that reference). --- Doc/api/refcounts.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/api/refcounts.dat b/Doc/api/refcounts.dat index 7bba011d77..ab6d865b04 100644 --- a/Doc/api/refcounts.dat +++ b/Doc/api/refcounts.dat @@ -1147,7 +1147,7 @@ PySet_Discard:PyObject*:key:-1:no effect if key not found PySet_New:PyObject*::+1: PySet_New:PyObject*:iterable:0: -PySet_Pop:PyObject*::0:or returns NULL and raises KeyError if set is empty +PySet_Pop:PyObject*::+1:or returns NULL and raises KeyError if set is empty PySet_Pop:PyObject*:set:0: PySet_Size:int::: -- 2.40.0