String#
- class swordfish._swordfishcpp.String(data: str)#
- class swordfish._swordfishcpp.String
Represents a Swordfish String object, initialized optionally with a Python str value.
- 参数:
data (str, optional) -- A Python str used to initialize the String object.
示例
>>> import swordfish as sf >>> sf.data.String() String(null) >>> sf.data.String("hello") String(hello)