quixote html.py,1.10,1.11
Neil Schemenauer <nascheme-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]>
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/cvs/quixote
In directory hewson:/tmp/cvs-serv1718
Modified Files:
html.py
Log Message:
Add capitalize method to htmltext.
Index: html.py
===================================================================
RCS file: /home/cvs/quixote/html.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- html.py 14 Oct 2002 22:59:07 -0000 1.10
+++ html.py 15 Oct 2002 17:50:12 -0000 1.11
@@ -202,6 +202,9 @@
def upper(self):
return self.__class__(self.s.upper())
+ def capitalize(self):
+ return self.__class__(self.s.capitalize())
+
class _QuotedRepr:
# helper for htmltext class
def __init__(self, value, quote):