openmdao/core/group.py
def _list_states(self):
        """
        Return list of all local states at and below this system.

        Returns
        -------
        list
            List of all states.
        """
        states = []
        for subsys in self._subsystems_myproc:
            states.extend(subsys._list_states())

        return sorted(states)

        Return list of all local states at and below this system.

        Returns
        -------
        list
            List of all states.
        
Return list of all local states at and below this system.
Returns

list
List of all states.
Return list of all local states at and below this system . Returns list List of all states .
def _list_states(self):
        states = []
        for subsys in self._subsystems_myproc:
            states.extend(subsys._list_states())
        return sorted(states)
def _list_states ( self ) : states = [ ] for subsys in self . _subsystems_myproc : states . extend ( subsys . _list_states ( ) ) return sorted ( states )
Return list of all local states at and below this system.
Return list of all local states at and below this system .
"""
        Return list of all local states at and below this system.

        Returns
        -------
        list
            List of all states.
        """
self