Go Back   Velocity Reviews > Newsgroups > Python
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Python - Re: [ANN] markup.py - 1.2 - an HTML/XML generator

 
Thread Tools Search this Thread
Old 04-03-2006, 11:57 PM   #1
Default Re: [ANN] markup.py - 1.2 - an HTML/XML generator


Felipe Almeida Lessa wrote:
> Em Ter, 2006-04-04 Ã*s 00:09 +0200, Daniel Nogradi escreveu:
> [snip]
>
>>page.ul.open( klass='mylist' )
>>page.li( items, klass='myitem' )

>
> [/snip]
>
> "klass"? Why not "cls" or "class_"?


Why not "klass"?

--
Robert Kern


"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco



Robert Kern
  Reply With Quote
Old 04-04-2006, 12:14 AM   #2
Jorge Godoy
 
Posts: n/a
Default Re: [ANN] markup.py - 1.2 - an HTML/XML generator
Robert Kern <> writes:

> Why not "klass"?


I was going to ask the same thing but I thought it was just me being too tired
to find it "ugly" or "bad choice"...

--
Jorge Godoy <>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.


Jorge Godoy
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46