Bug 3011: change old-style classes to new-style classes
svn: r12559
This commit is contained in:
@@ -181,7 +181,7 @@ def _get_subject(options, dbase):
|
||||
# Book Item class
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class BookItem:
|
||||
class BookItem(object):
|
||||
"""
|
||||
Interface into the book item -- a smallest element of the book.
|
||||
"""
|
||||
@@ -252,7 +252,7 @@ class BookItem:
|
||||
# Book class
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class Book:
|
||||
class Book(object):
|
||||
"""
|
||||
Interface into the user-defined book -- a collection of book items.
|
||||
"""
|
||||
@@ -359,7 +359,7 @@ class Book:
|
||||
# BookList class
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class BookList:
|
||||
class BookList(object):
|
||||
"""
|
||||
Interface into the user-defined list of books.
|
||||
|
||||
@@ -552,7 +552,7 @@ class BookParser(handler.ContentHandler):
|
||||
# BookList Display class
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class BookListDisplay:
|
||||
class BookListDisplay(object):
|
||||
"""
|
||||
Interface into a dialog with the list of available books.
|
||||
|
||||
|
Reference in New Issue
Block a user