[Pyobjc-dev] [ pyobjc-Bugs-806984 ] Error in NSBezierPath.appendBezierPathWithPoints_count_
Brought to you by:
ronaldoussoren
From: SourceForge.net <no...@so...> - 2003-09-16 07:44:26
|
Bugs item #806984, was opened at 2003-09-16 07:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=806984&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dinu C. Gherman (dinu_gherman) Assigned to: Nobody/Anonymous (nobody) Summary: Error in NSBezierPath.appendBezierPathWithPoints_count_ Initial Comment: Ok, it doesn't crash anymore on 1.0rc3, but the method signature seems to be different from what the docs say. Python 2.2.3 (#1, Sep 10 2003, 11:51:43) [GCC 3.1 20020420 (prerelease)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> import objc >>> objc.__version__ '1.0rc3' >>> from AppKit import * >>> path = NSBezierPath.bezierPath() >>> points = [(0,0), (100,0), (100,100)] >>> path.appendBezierPathWithPoints_count_(points, len(points)) Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: function takes exactly 3 arguments (2 given) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=806984&group_id=14534 |