Commit 63143c94 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Test for explicit start/end args to str methods for unicode.

parent ea2c936c
# str methods with explicit start/end pos
print("Привет".startswith("П"))
print("Привет".startswith("р", 1))
print("абвба".find("а", 1))
print("абвба".find("а", 1, -1))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment