Python: Make NeighList a subclass of object

This commit is contained in:
Richard Berger
2021-05-10 16:16:26 -04:00
parent 51847f70f2
commit feb0a49f2f

View File

@ -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: