This repository has been archived on 2024-07-02. You can view files and clone it, but cannot push or open issues/pull-requests.
|
class Particle(str):
|
|
def __new__(cls, *args, **kwargs):
|
|
particle_str = args[0]
|
|
obj = str.__new__(cls, " " + particle_str + " ")
|
|
obj.pname = particle_str
|
|
return obj
|