Skip to content
Snippets Groups Projects
Select Git revision
  • ac2f7a7f6aab135e90dd12d30b51d857628b0a59
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

objstr.c

Blame
  • user avatar
    Paul Sokolovsky authored
    splitlines() occurs ~179 times in CPython3 standard library, so was
    deemed worthy to implement. The method has subtle semantic differences
    from just .split("\n"). It is also defined as working for any end-of-line
    combination, but this is currently not implemented - it works only with
    LF line-endings (which should be OK for text strings on any platforms,
    but not OK for bytes).
    ac2f7a7f
    History
    objstr.c 72.01 KiB