parameters: (cls, *args, **kwds)
return_statement: return object.__new__(cls)
docstring: Constructor that prevents BasePattern from being instantiated.
docstring_summary: Constructor that prevents BasePattern from being instantiated.
docstring_tokens: Constructor that prevents BasePattern from being instantiated .
function: def __new__(cls, *args, **kwds):
          """Constructor that prevents BasePattern from being instantiated."""
          assert cls is not BasePattern, "Cannot instantiate BasePattern"
          return object.__new__(cls)
function_tokens: def __new__ ( cls , * args , * * kwds ) : assert cls is not BasePattern , "Cannot instantiate BasePattern" return object . __new__ ( cls )