diff options
| author | Damien George | 2014-06-28 10:30:53 +0100 |
|---|---|---|
| committer | Damien George | 2014-06-28 10:30:53 +0100 |
| commit | b1b840554d27659f760304713c98f5c7f2d7f74b (patch) | |
| tree | c112d08faa88043084f4d4d19094127b31d4e2c2 /tests/unicode/unicode_pos.py | |
| parent | 8993fb6cf0677ce980ab56cbad326e4e6bc47811 (diff) | |
| parent | 635b60e299509a85722db77c4409c78ca86dbdc7 (diff) | |
Merge branch 'unicode'
Diffstat (limited to 'tests/unicode/unicode_pos.py')
| -rw-r--r-- | tests/unicode/unicode_pos.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unicode/unicode_pos.py b/tests/unicode/unicode_pos.py new file mode 100644 index 000000000..6a5982920 --- /dev/null +++ b/tests/unicode/unicode_pos.py @@ -0,0 +1,5 @@ +# str methods with explicit start/end pos +print("Привет".startswith("П")) +print("Привет".startswith("р", 1)) +print("абвба".find("а", 1)) +print("абвба".find("а", 1, -1)) |
