docstring typo fixes

svn: r15030
This commit is contained in:
Raphael Ackermann 2010-04-04 18:55:58 +00:00
parent 6ae2f1c81e
commit e371599df4
7 changed files with 13 additions and 13 deletions

View File

@ -89,9 +89,9 @@ class Event(SourceBase, NoteBase, MediaBase, AttributeBase,
This method is used to convert the object into a form that can easily
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
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
a form that it can use.

View File

@ -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
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
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
a form that it can use.

View File

@ -51,7 +51,7 @@ from gen.lib.markertype import MarkerType
class MediaObject(SourceBase, NoteBase, DateBase, AttributeBase,
PrimaryObject):
"""
Containter for information about an image file, including location,
Container for information about an image file, including location,
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
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
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
a form that it can use.

View File

@ -132,7 +132,7 @@ class MediaRef(SecondaryObject, PrivacyBase, SourceBase, NoteBase, RefBase,
return self.attribute_list + self.source_list
def set_rectangle(self, coord):
"""Set subection of an image."""
"""Set subsection of an image."""
self.rect = coord
def get_rectangle(self):

View File

@ -116,9 +116,9 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase,
This method is used to convert the object into a form that can easily
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
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
a form that it can use.

View File

@ -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
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
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
a form that it can use.

View File

@ -179,7 +179,7 @@ class MediaView(ListView):
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.
"""
return DdTargets.MEDIAOBJ