Python: Make NeighList a subclass of object
This commit is contained in:
@ -16,7 +16,7 @@
|
|||||||
# Written by Richard Berger <richard.berger@temple.edu>
|
# Written by Richard Berger <richard.berger@temple.edu>
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
class NeighList:
|
class NeighList(object):
|
||||||
"""This is a wrapper class that exposes the contents of a neighbor list.
|
"""This is a wrapper class that exposes the contents of a neighbor list.
|
||||||
|
|
||||||
It can be used like a regular Python list. Each element is a tuple of:
|
It can be used like a regular Python list. Each element is a tuple of:
|
||||||
|
|||||||
Reference in New Issue
Block a user