def __new__(cls, *args, **kw): # type: (Any, Any) -> Any anchor = kw.pop('anchor', None) # type: ignore ret_val = text_type.__new__(cls, *args, **kw) # type: ignore if anchor is not None: ret_val.yaml_set_anchor(anchor, always_dump=True) return ret_val
def __new__(cls, *args, **kw): return text_type.__new__(cls, *args, **kw)
def __new__(cls, *args, **kw): # type: (Any, Any) -> Any return text_type.__new__(cls, *args, **kw) # type: ignore
def __new__(cls, *args, **kw): return text_type.__new__(cls, *args, **kw)