[CalendarServer-changes] [7464] CalendarServer/branches/users/glyph/new-export/twistedcaldav/ical.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 16 07:43:58 PDT 2011
Revision: 7464
http://trac.macosforge.org/projects/calendarserver/changeset/7464
Author: glyph at apple.com
Date: 2011-05-16 07:43:57 -0700 (Mon, 16 May 2011)
Log Message:
-----------
more docstring metadata
Modified Paths:
--------------
CalendarServer/branches/users/glyph/new-export/twistedcaldav/ical.py
Modified: CalendarServer/branches/users/glyph/new-export/twistedcaldav/ical.py
===================================================================
--- CalendarServer/branches/users/glyph/new-export/twistedcaldav/ical.py 2011-05-16 14:43:45 UTC (rev 7463)
+++ CalendarServer/branches/users/glyph/new-export/twistedcaldav/ical.py 2011-05-16 14:43:57 UTC (rev 7464)
@@ -368,6 +368,10 @@
def newCalendar(cls):
"""
Create and return an empty C{VCALENDAR} component.
+
+ @return: a new C{VCALENDAR} component with appropriate metadata
+ properties already set (version, product ID).
+ @rtype: an instance of this class
"""
self = cls("VCALENDAR")
self.addProperty(Property("VERSION", "2.0"))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110516/c327338a/attachment.html>
More information about the calendarserver-changes
mailing list