Skip to content

Commit

Permalink
NFC: update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiirola committed Aug 14, 2024
1 parent c0eef17 commit 31a13f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pyomo/core/base/suffix.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,14 @@ def __init__(self, name, default=None, context=None):
Default value to return from `.find()` if no matching Suffix
is found.
context: BlockData
The root of the Block hierarchy to use when searching for
Suffix components. Suffixes outside this hierarchy will not
be interrogated and components that are queried (with
:py:meth:`find(component_data)` will return the default
value.
"""
self.name = name
self.default = default
Expand Down

0 comments on commit 31a13f6

Please sign in to comment.