We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7cde2b commit 6e09777Copy full SHA for 6e09777
pystring_impl.h
@@ -940,9 +940,9 @@ const std::string colon = ":";
940
int nummatches = 0;
941
int cursor = start;
942
943
- // special handling for an empty substring
944
- // this will match python's behavior of
945
- // "bob".count("") == 4
+ // special handling for an empty substring
+ // this will match python's behavior of
+ // "bob".count("") == 4
946
// "".count("") == 1
947
if ( substr.empty() )
948
{
0 commit comments