Author: russellm
Date: 2007-03-15 02:48:36 -0500 (Thu, 15 Mar 2007)
New Revision: 4734
Modified:
django/trunk/django/core/serializers/pyyaml.py
Log:
Fixed typo in docstring of YAML serializer.
Modified: django/trunk/django/core/serializers/pyyaml.py
===================================================================
--- django/trunk/django/core/serializers/pyyaml.py 2007-03-15 07:44:44 UTC
(rev 4733)
+++ django/trunk/django/core/serializers/pyyaml.py 2007-03-15 07:48:36 UTC
(rev 4734)
@@ -15,7 +15,7 @@
class Serializer(PythonSerializer):
"""
- Convert a queryset to JSON.
+ Convert a queryset to YAML.
"""
def end_serialization(self):
yaml.dump(self.objects, self.stream, **self.options)
@@ -25,7 +25,7 @@
def Deserializer(stream_or_string, **options):
"""
- Deserialize a stream or string of JSON data.
+ Deserialize a stream or string of YAML data.
"""
if isinstance(stream_or_string, basestring):
stream = StringIO(stream_or_string)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---