Beispiel #1
0
 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
Beispiel #2
0
 def __new__(cls, *args, **kw):
     return text_type.__new__(cls, *args, **kw)
Beispiel #3
0
 def __new__(cls, *args, **kw):
     # type: (Any, Any) -> Any
     return text_type.__new__(cls, *args, **kw)  # type: ignore
Beispiel #4
0
 def __new__(cls, *args, **kw):
     return text_type.__new__(cls, *args, **kw)