[Python-checkins] python/dist/src/Lib mimetypes.py, 1.28.8.1,
1.28.8.2
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sat Dec 20 15:31:10 EST 2003
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv26042
Modified Files:
Tag: release23-maint
mimetypes.py
Log Message:
Backport rev 1.30 removing 'self' from the arg list for add_type()
Index: mimetypes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/mimetypes.py,v
retrieving revision 1.28.8.1
retrieving revision 1.28.8.2
diff -C2 -d -r1.28.8.1 -r1.28.8.2
*** mimetypes.py 20 Oct 2003 14:34:45 -0000 1.28.8.1
--- mimetypes.py 20 Dec 2003 20:31:08 -0000 1.28.8.2
***************
*** 269,273 ****
return guess_extension(type, strict)
! def add_type(self, type, ext, strict=True):
"""Add a mapping between a type and an extension.
--- 269,273 ----
return guess_extension(type, strict)
! def add_type(type, ext, strict=True):
"""Add a mapping between a type and an extension.
More information about the Python-checkins
mailing list