bool
|
isspace(S)
Return True if all characters in S are whitespace and there is at
least one character in S, False otherwise. |
source code
|
|
int
|
find(S,
sub,
start=... ,
end=...)
Return the lowest index in S where substring sub is found, such that
sub is contained within s[start:end]. |
source code
|
|
int
|
rfind(S,
sub,
start=... ,
end=...)
Return the highest index in S where substring sub is found, such that
sub is contained within s[start:end]. |
source code
|
|
bool
|
startswith(S,
prefix,
start=...,
end=...)
Return True if S starts with the specified prefix, False otherwise. |
source code
|
|
|
|
object
|
decode(S,
encoding=...,
errors=...)
Decodes S using the codec registered for encoding. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
read_obsolete_lines(parse_state)
Read all the lines belonging to the current unit if obsolete. |
source code
|
|
|
|
|
|
|
parse_msg_comment(parse_state,
msg_comment_list,
string) |
source code
|
|
|
parse_multiple_quoted(parse_state,
msg_list,
msg_comment_list,
first_start_pos=0) |
source code
|
|
|
parse_message(parse_state,
start_of_string,
start_of_string_len,
msg_list,
msg_comment_list=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
add_to_dict(msgstr_dict,
line,
right_bracket_pos,
entry) |
source code
|
|
|
|
|
parse_msgstr_array_entry(parse_state,
msgstr_dict) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|