summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2007-03-15 07:48:36 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2007-03-15 07:48:36 +0000
commit3eb89eaa25979e0a89966e5c089188acd9f4cd76 (patch)
tree05f76d1387201d1f11f473b94c723a76ccbda5b0
parent2a8da0a502a12d110c23bce0ac23bc96c847ee55 (diff)
Fixed typo in docstring of YAML serializer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/core/serializers/pyyaml.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/serializers/pyyaml.py b/django/core/serializers/pyyaml.py
index f45a511e79..fa3dec984e 100644
--- a/django/core/serializers/pyyaml.py
+++ b/django/core/serializers/pyyaml.py
@@ -15,7 +15,7 @@ import yaml
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 @@ class Serializer(PythonSerializer):
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)