summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/te/tesupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-03-22 15:35:24 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-03-22 15:35:24 (GMT)
commitdeb6373fff220f0b0dd3024a49ba0628be7b1018 (patch)
treec5c979eca2da40b876b27bf88b5ce3e88b054c50 /Mac/Modules/te/tesupport.py
parent8e14f05ae6d068f03940c35c2edb56f5b6fabf78 (diff)
downloadcpython-deb6373fff220f0b0dd3024a49ba0628be7b1018.zip
cpython-deb6373fff220f0b0dd3024a49ba0628be7b1018.tar.gz
cpython-deb6373fff220f0b0dd3024a49ba0628be7b1018.tar.bz2
Data of type Point is passed by value, not by reference.
Diffstat (limited to 'Mac/Modules/te/tesupport.py')
-rw-r--r--Mac/Modules/te/tesupport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/te/tesupport.py b/Mac/Modules/te/tesupport.py
index b078649..b33d0bd 100644
--- a/Mac/Modules/te/tesupport.py
+++ b/Mac/Modules/te/tesupport.py
@@ -107,7 +107,7 @@ class MyObjectDefinition(GlobalObjectDefinition):
return Py_BuildValue("h", (*self->ob_itself)->fontAscent);
if( strcmp(name, "selPoint") == 0 )
return Py_BuildValue("O&", PyMac_BuildPoint,
- &(*self->ob_itself)->selPoint);
+ (*self->ob_itself)->selPoint);
if( strcmp(name, "selStart") == 0 )
return Py_BuildValue("h", (*self->ob_itself)->selStart);
if( strcmp(name, "selEnd") == 0 )