Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
29f092d0
Commit
29f092d0
authored
Apr 07, 2019
by
eckhart
Browse files
- sync commit
parent
ad6eeb6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
DHParser/stringview.py
View file @
29f092d0
...
...
@@ -46,7 +46,7 @@ except ImportError:
__all__
=
(
'StringView'
,
'EMPTY_STRING_VIEW'
,
'cython_optimized'
)
def
first_char
(
text
,
begin
:
int
,
end
:
int
,
chars
:
str
)
->
int
:
def
first_char
(
text
:
str
,
begin
:
int
,
end
:
int
,
chars
:
str
)
->
int
:
"""Returns the index of the first non-whitespace character in string
`text` within the bounds [begin, end].
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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