rspec/rules/S5625/python/highlighting.adoc

10 lines
298 B
Plaintext
Raw Normal View History

=== Highlighting
* If the ++__iter__++ method is present but does not return "self"
** Primary: The ++__iter__++ method signature
** Secondary: The returned value if there is one
* If there is no ++__iter__++ method
** Primary: The class signature
** Secondary: The ++__next__++ method signature