Skip to content

Commit

Permalink
Lint cleanup in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
drewj-tp committed Dec 11, 2024
1 parent 033891b commit 02785b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion armi/reactor/assemblies.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ def iterBlocks(self, typeSpec=None, exact=False):
-------
iterable of Block
See also
See Also
--------
* :meth:`__iter__` - if no type spec provided, assemblies can be
naturally iterated upon.
Expand Down
2 changes: 1 addition & 1 deletion armi/reactor/composites.py
Original file line number Diff line number Diff line change
Expand Up @@ -2812,7 +2812,7 @@ def getChildrenWithFlags(self, typeSpec: TypeSpec, exactMatch=False):
return list(self.iterChildrenWithFlags(typeSpec, exactMatch))

def iterChildrenOfType(self, typeName: str):
"""Produce an iterator over all children with a specific input type name"""
"""Produce an iterator over all children with a specific input type name."""
return filter(lambda c: c.getType() == typeName, self)

def getChildrenOfType(self, typeName: str):
Expand Down

0 comments on commit 02785b6

Please sign in to comment.