Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add isspace API in str #2373

Merged
merged 18 commits into from
Oct 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/lpython/semantics/python_ast_to_asr.cpp
Co-authored-by: Ondřej Čertík <ondrej@certik.us>
  • Loading branch information
Agent-Hellboy and certik committed Oct 8, 2023
commit ceafe993bdca840d2f03f93e58f2809a5e08eeff
2 changes: 1 addition & 1 deletion src/lpython/semantics/python_ast_to_asr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6999,7 +6999,7 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
tmp = ASR::make_LogicalConstant_t(al, loc, is_ascii,
ASRUtils::TYPE(ASR::make_Logical_t(al, loc, 4)));
return;
} else if(attr_name == "isspace") {
} else if (attr_name == "isspace") {
/*
* Specification:
Return true if all characters in the input string are considered whitespace characters,
Expand Down
Loading