![]() The new splitlines method on str is intended to replace usage of fs.read('whatever').strip().split('\n'). The problem with the .strip().split() approach is that it doesn't have a way to represent empty lists (an empty string becomes a list with one empty string, not an empty list), and it doesn't handle Windows-style line endings. |
||
---|---|---|
.. | ||
__init__.py | ||
array.py | ||
boolean.py | ||
dict.py | ||
integer.py | ||
range.py | ||
string.py |