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:
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
>
>
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
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