From 3eb89eaa25979e0a89966e5c089188acd9f4cd76 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 15 Mar 2007 07:48:36 +0000 Subject: [PATCH] Fixed typo in docstring of YAML serializer. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4734 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/serializers/pyyaml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/core/serializers/pyyaml.py b/django/core/serializers/pyyaml.py index f45a511e798..fa3dec984e3 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)