Skip to content

Commit 4918f85

Browse files
authored
Update README.md
1 parent 2f16db4 commit 4918f85

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# modify-tuples-strings-inplace-python
2-
Methods to modify python immutable python objects inplace using ctypes. Experimental. Warning - Do not use these in your code unless you are very, very sure what you are doing and have very good reasons.
2+
Methods to modify python immutable python objects inplace using ctypes.\
3+
Experimental.]
4+
Warning - Do not use these in your code unless you are very, very sure what you are doing and have very good reasons.
35

46
# Main problems
5-
Multiple completely unrelated variables in a program might reference the same tuple / string / float etc. if they are the same value. Changing something inplace may cause unexpected variable value changes, which can break code, cause segfaults, etc.
7+
Multiple completely unrelated variables in a program might reference the same tuple / string / float etc. if they are the same value.\
8+
Changing something inplace may cause unexpected variable value changes, which can break code, cause segfaults, etc.
69

710
# Stackoverflow Links
8-
[Answer by Michael Lipp](https://stackoverflow.com/questions/3463746/in-place-string-modifications-in-python)
11+
[Answer by Michael Lipp](https://stackoverflow.com/questions/3463746/in-place-string-modifications-in-python)\
912
[Question by Abdul Niyas P M](https://stackoverflow.com/questions/74405180/why-cpython-exposes-pytuple-setitem-as-c-api-if-tuple-is-immutable-by-design)
1013

1114
# [Tio.run link](https://tio.run/##nVVNb9swDL3nVxDuYfbqBc26XQKkWNHlUGBAizQ77CSotuxosyVDVrpmw357Rn3YsZO4zeaDI4vk4yP1GFUbvZLicrtNClrXUMqUZxui11XBpiPAJ1OyhERvKlYDLyupNCSkkCKP8bfmvxjRMVQbIh@/s8QuDSCt@MiGt5/j@83SoJIHpm81K8dU5Q51BmEn/gho5KBSlgEhgv0kJEyKOgZkOQVLNQaePk@BCwxDhydaRPDuCjplmOcMlt/u5zBfLO4WD@0uz8DwCNE5Al6DkHo/0DyK8prBEj3nSkkVZsFv9PrTRFAXE0RdXCRljVxguMhZWDBh80THsG9Fyp5bcIy14BQeaYoIaINMKrBZO2nO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