Skip to content

Commit 871e5d5

Browse files
committed
improved comments
1 parent 6438394 commit 871e5d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pystring_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ const std::string colon = ":";
577577
bool isupper(const std::string &str)
578578
{
579579
// this is written this way to match python's behavior of isupper
580-
// in python something like HELLO! (the "!") is basically ignored
580+
// in python something like "HELLO!" returns true (the "!" is basically ignored)
581581
bool has_cased = false;
582582
for (std::string::size_type i = 0; i < str.size(); ++i)
583583
{

0 commit comments

Comments
 (0)