Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasturcani committed Apr 25, 2024
1 parent a2dfdc1 commit 8885d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/_templates/class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

{% set direct_methods = [] %}
{% for item in methods %}
{%- if not item.startswith('_') and item not in inherited_members %}
{%- if item not in inherited_members %}
{% set direct_methods = direct_methods.append(item) %}
{%- endif -%}
{% endfor %}
Expand Down

0 comments on commit 8885d7a

Please sign in to comment.