Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
63143c94
Commit
63143c94
authored
Jun 15, 2014
by
Paul Sokolovsky
Browse files
tests: Test for explicit start/end args to str methods for unicode.
parent
ea2c936c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unicode/unicode_pos.py
0 → 100644
View file @
63143c94
# str methods with explicit start/end pos
print
(
"Привет"
.
startswith
(
"П"
))
print
(
"Привет"
.
startswith
(
"р"
,
1
))
print
(
"абвба"
.
find
(
"а"
,
1
))
print
(
"абвба"
.
find
(
"а"
,
1
,
-
1
))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment