Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typo in docstring of YAML serializer.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3eb89eaa25979e0a89966e5c089188acd9f4cd76 1 parent 2a8da0a
Russell Keith-Magee freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/core/serializers/pyyaml.py
4 django/core/serializers/pyyaml.py
View
@@ -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 getvalue(self):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.