Skip to content

Commit

Permalink
Adding docstring to new SimpleNamespace class
Browse files Browse the repository at this point in the history
  • Loading branch information
stammler committed Feb 8, 2024
1 parent e63d8f6 commit 8dd0b8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions simframe/utils/simplenamespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@


class SimpleNamespace(types.SimpleNamespace):
"""
This is a modified version of types.SimpleNamespace that
allows for the iteration over its members
"""

def __init__(self, /, **kwargs):
super().__init__(**kwargs)
Expand Down

0 comments on commit 8dd0b8e

Please sign in to comment.