object
PYL-R0205218Run_SolverT.update_forward_refs()
219
220
221class DBHandler(object):222 """
223 A simple singleton class that makes sure that only one connection to the database is ever initialised.
224 """
The class is inheriting from object
, which is implicit under Python 3 , hence can be safely removed from bases.
Not preferred:
class Foo(object):
"""Foo bar baz"""
Preferred:
class Foo:
"""Foo bar baz"""