Re: [Pythonmac-SIG] PyObjC: Errors initializing NSAttributedString using initWithHTML

2006-01-11 Thread Michael Glassford
Bob Ippolito wrote: > On Jan 10, 2006, at 2:16 PM, Michael Glassford wrote: > > >>When trying to initialize an NSAttributedString like this: >> >>attributedString = >>AppKit.NSAttributedString.alloc >>().initWithHTML_baseURL_documentAttributes_(data, >>url, None) >> >>I get the error "TypeError:

Re: [Pythonmac-SIG] PyObjC: Errors initializing NSAttributedString using initWithHTML

2006-01-10 Thread Ronald Oussoren
On 10-jan-2006, at 23:29, Bob Ippolito wrote: > > This behavior is definitely documented.. I don't remember exactly > where, don't have a checkout on me. It's documented in this section: http://pyobjc.sourceforge.net/doc/ intro.php#messages-and-functions. Ronald > > -bob > >

Re: [Pythonmac-SIG] PyObjC: Errors initializing NSAttributedString using initWithHTML

2006-01-10 Thread Bob Ippolito
On Jan 10, 2006, at 2:16 PM, Michael Glassford wrote: > When trying to initialize an NSAttributedString like this: > > attributedString = > AppKit.NSAttributedString.alloc > ().initWithHTML_baseURL_documentAttributes_(data, > url, None) > > I get the error "TypeError: Need 2 arguments, got 3", a

[Pythonmac-SIG] PyObjC: Errors initializing NSAttributedString using initWithHTML

2006-01-10 Thread Michael Glassford
When trying to initialize an NSAttributedString like this: attributedString = AppKit.NSAttributedString.alloc().initWithHTML_baseURL_documentAttributes_(data, url, None) I get the error "TypeError: Need 2 arguments, got 3", although the documentation makes it pretty clear that there are in fa