diff options
-rwxr-xr-x | Lib/UserString.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/UserString.py b/Lib/UserString.py index 615c135..c3267ad 100755 --- a/Lib/UserString.py +++ b/Lib/UserString.py @@ -232,6 +232,8 @@ class MutableString(UserString, collections.MutableSequence): def __imul__(self, n): self.data *= n return self + def insert(self, index, value): + self[index:index] = value collections.MutableSequence.register(MutableString) |