Issue 19319: misleading comment regarding C (original) (raw)

Issue19319

Created on 2013-10-20 18:19 by christoph.baumgartner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg200604 - (view) Author: Christoph Baumgartner (christoph.baumgartner) Date: 2013-10-20 18:19
The documentation about ctypes.sizeof: "Returns the size in bytes of a ctypes type or instance memory buffer. Does the same as the C sizeof() function." 'sizeof' is an operator. I would drop the parentheses as well.
msg200682 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-10-21 01:42
New changeset 737b79e524aa by Ezio Melotti in branch '2.7': #19319: fix ctypes docs: sizeof is an operator in C, not a function. http://hg.python.org/cpython/rev/737b79e524aa New changeset d8e352e2f110 by Ezio Melotti in branch '3.3': #19319: fix ctypes docs: sizeof is an operator in C, not a function. http://hg.python.org/cpython/rev/d8e352e2f110 New changeset 49f8d07b6c5c by Ezio Melotti in branch 'default': #19319: merge with 3.3. http://hg.python.org/cpython/rev/49f8d07b6c5c
msg200683 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-10-21 01:43
Fixed, thanks for the report!
History
Date User Action Args
2022-04-11 14:57:52 admin set github: 63518
2013-10-21 01:43:14 ezio.melotti set status: open -> closedtype: enhancementassignee: docs@python -> ezio.melottiversions: + Python 2.7, Python 3.3, Python 3.4nosy: + ezio.melottimessages: + resolution: fixedstage: resolved
2013-10-21 01:42:45 python-dev set nosy: + python-devmessages: +
2013-10-20 18:24:22 numerodix set nosy: + numerodix
2013-10-20 18:19:33 christoph.baumgartner create