remove empty rows

This commit is contained in:
Stephan Groß 2012-10-29 09:29:45 +01:00
parent ff4804a360
commit 2de89f2d53

View File

@ -135,7 +135,6 @@ Let's look at an example of serializing a class that represents an RGB color val
""" """
A color represented in the RGB colorspace. A color represented in the RGB colorspace.
""" """
def __init__(self, red, green, blue): def __init__(self, red, green, blue):
assert(red >= 0 and green >= 0 and blue >= 0) assert(red >= 0 and green >= 0 and blue >= 0)
assert(red < 256 and green < 256 and blue < 256) assert(red < 256 and green < 256 and blue < 256)
@ -145,7 +144,6 @@ Let's look at an example of serializing a class that represents an RGB color val
""" """
Color objects are serialized into "rgb(#, #, #)" notation. Color objects are serialized into "rgb(#, #, #)" notation.
""" """
def to_native(self, obj): def to_native(self, obj):
return "rgb(%d, %d, %d)" % (obj.red, obj.green, obj.blue) return "rgb(%d, %d, %d)" % (obj.red, obj.green, obj.blue)