Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tKmDH-00AhiB-CL for pgsql-docs@arkaria.postgresql.org; Mon, 09 Dec 2024 22:26:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tKmDE-00C4Ri-R5 for pgsql-docs@arkaria.postgresql.org; Mon, 09 Dec 2024 22:26:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tKmDE-00C4Nm-JK for pgsql-docs@lists.postgresql.org; Mon, 09 Dec 2024 22:26:45 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tKmDD-001yT1-AX for pgsql-docs@lists.postgresql.org; Mon, 09 Dec 2024 22:26:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 4B9MQf5p4141534; Mon, 9 Dec 2024 17:26:42 -0500 From: Tom Lane To: e.rogov@postgrespro.ru cc: pgsql-docs@lists.postgresql.org Subject: Re: next method of Python iterators In-reply-to: <173376152827.3842597.18074730364080598094@wrigleys.postgresql.org> References: <173376152827.3842597.18074730364080598094@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Mon, 09 Dec 2024 16:25:28 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4141532.1733783201.1@sss.pgh.pa.us> Date: Mon, 09 Dec 2024 17:26:41 -0500 Message-ID: <4141533.1733783201@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: > Method `next` of an iterator should be named `__next__` instead. This was reported and fixed recently [1], but thanks for the report! regards, tom lane https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=2ff7c913d