def create_contents(self, parent):
        self.ui = self.edit_traits(kind='subpanel', parent=parent)
        return self.ui.control
Expands any environment variables and home shortcuts found in ``expr``
dataset/ETHPy150Open enthought/pyface/pyface/tasks/traits_dock_pane.py/TraitsDockPane.create_contents--crossover with--dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/machines/local.py/LocalEnv.expand