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