We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__add__
1 parent 35a0f3a commit 75cc8ceCopy full SHA for 75cc8ce
Objects/stringobjectImpl.nim
@@ -50,3 +50,6 @@ implStrMagic New(tp: PyObject, obj: PyObject):
50
return newTypeError(
51
&"__str__ returned non-string (type {result.pyType.name:.200s})")
52
53
+
54
+implStrMagic add(i: PyStrObject):
55
+ newPyStr self.str & i.str
0 commit comments