docstring typo fixes
svn: r15030
This commit is contained in:
parent
6ae2f1c81e
commit
e371599df4
@ -89,9 +89,9 @@ class Event(SourceBase, NoteBase, MediaBase, AttributeBase,
|
|||||||
This method is used to convert the object into a form that can easily
|
This method is used to convert the object into a form that can easily
|
||||||
be saved to a database.
|
be saved to a database.
|
||||||
|
|
||||||
These elements may be primative Python types (string, integers),
|
These elements may be primitive Python types (string, integers),
|
||||||
complex Python types (lists or tuples, or Python objects. If the
|
complex Python types (lists or tuples, or Python objects. If the
|
||||||
target database cannot handle complex types (such as objectes or
|
target database cannot handle complex types (such as objects or
|
||||||
lists), the database is responsible for converting the data into
|
lists), the database is responsible for converting the data into
|
||||||
a form that it can use.
|
a form that it can use.
|
||||||
|
|
||||||
|
@ -99,9 +99,9 @@ class Family(SourceBase, NoteBase, MediaBase, AttributeBase, LdsOrdBase,
|
|||||||
This method is used to convert the object into a form that can easily
|
This method is used to convert the object into a form that can easily
|
||||||
be saved to a database.
|
be saved to a database.
|
||||||
|
|
||||||
These elements may be primative Python types (string, integers),
|
These elements may be primitive Python types (string, integers),
|
||||||
complex Python types (lists or tuples, or Python objects. If the
|
complex Python types (lists or tuples, or Python objects. If the
|
||||||
target database cannot handle complex types (such as objectes or
|
target database cannot handle complex types (such as objects or
|
||||||
lists), the database is responsible for converting the data into
|
lists), the database is responsible for converting the data into
|
||||||
a form that it can use.
|
a form that it can use.
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ from gen.lib.markertype import MarkerType
|
|||||||
class MediaObject(SourceBase, NoteBase, DateBase, AttributeBase,
|
class MediaObject(SourceBase, NoteBase, DateBase, AttributeBase,
|
||||||
PrimaryObject):
|
PrimaryObject):
|
||||||
"""
|
"""
|
||||||
Containter for information about an image file, including location,
|
Container for information about an image file, including location,
|
||||||
description and privacy.
|
description and privacy.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@ -90,9 +90,9 @@ class MediaObject(SourceBase, NoteBase, DateBase, AttributeBase,
|
|||||||
This method is used to convert the object into a form that can easily
|
This method is used to convert the object into a form that can easily
|
||||||
be saved to a database.
|
be saved to a database.
|
||||||
|
|
||||||
These elements may be primative Python types (string, integers),
|
These elements may be primitive Python types (string, integers),
|
||||||
complex Python types (lists or tuples, or Python objects. If the
|
complex Python types (lists or tuples, or Python objects. If the
|
||||||
target database cannot handle complex types (such as objectes or
|
target database cannot handle complex types (such as objects or
|
||||||
lists), the database is responsible for converting the data into
|
lists), the database is responsible for converting the data into
|
||||||
a form that it can use.
|
a form that it can use.
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ class MediaRef(SecondaryObject, PrivacyBase, SourceBase, NoteBase, RefBase,
|
|||||||
return self.attribute_list + self.source_list
|
return self.attribute_list + self.source_list
|
||||||
|
|
||||||
def set_rectangle(self, coord):
|
def set_rectangle(self, coord):
|
||||||
"""Set subection of an image."""
|
"""Set subsection of an image."""
|
||||||
self.rect = coord
|
self.rect = coord
|
||||||
|
|
||||||
def get_rectangle(self):
|
def get_rectangle(self):
|
||||||
|
@ -116,9 +116,9 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase,
|
|||||||
This method is used to convert the object into a form that can easily
|
This method is used to convert the object into a form that can easily
|
||||||
be saved to a database.
|
be saved to a database.
|
||||||
|
|
||||||
These elements may be primative Python types (string, integers),
|
These elements may be primitive Python types (string, integers),
|
||||||
complex Python types (lists or tuples, or Python objects. If the
|
complex Python types (lists or tuples, or Python objects. If the
|
||||||
target database cannot handle complex types (such as objectes or
|
target database cannot handle complex types (such as objects or
|
||||||
lists), the database is responsible for converting the data into
|
lists), the database is responsible for converting the data into
|
||||||
a form that it can use.
|
a form that it can use.
|
||||||
|
|
||||||
|
@ -84,9 +84,9 @@ class Place(SourceBase, NoteBase, MediaBase, UrlBase, PrimaryObject):
|
|||||||
This method is used to convert the object into a form that can easily
|
This method is used to convert the object into a form that can easily
|
||||||
be saved to a database.
|
be saved to a database.
|
||||||
|
|
||||||
These elements may be primative Python types (string, integers),
|
These elements may be primitive Python types (string, integers),
|
||||||
complex Python types (lists or tuples, or Python objects. If the
|
complex Python types (lists or tuples, or Python objects. If the
|
||||||
target database cannot handle complex types (such as objectes or
|
target database cannot handle complex types (such as objects or
|
||||||
lists), the database is responsible for converting the data into
|
lists), the database is responsible for converting the data into
|
||||||
a form that it can use.
|
a form that it can use.
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ class MediaView(ListView):
|
|||||||
|
|
||||||
def drag_info(self):
|
def drag_info(self):
|
||||||
"""
|
"""
|
||||||
Return the type of DND targetst that this view will accept. For Media
|
Return the type of DND targets that this view will accept. For Media
|
||||||
View, we will accept media objects.
|
View, we will accept media objects.
|
||||||
"""
|
"""
|
||||||
return DdTargets.MEDIAOBJ
|
return DdTargets.MEDIAOBJ
|
||||||
|
Loading…
Reference in New Issue
Block a user