Paul Sokolovsky 37379a2974 py/objstr: startswith, endswith: Check arg to be a string.
Otherwise, it will silently get incorrect result on other values types,
including CPython tuple form like "foo.png".endswith(("png", "jpg"))
(which MicroPython doesn't support for unbloatedness).
2017-08-29 00:06:21 +03:00
..
2017-08-13 22:52:33 +10:00
2017-05-29 11:36:05 +03:00
2017-07-18 11:57:39 +10:00
2017-03-08 22:36:02 +11:00
2017-07-18 11:57:39 +10:00
2017-07-18 11:57:39 +10:00