def doctest_who():
    "doctest for %who\n    \n    In [1]: %reset -f\n    \n    In [2]: alpha = 123\n    \n    In [3]: beta = 'beta'\n    \n    In [4]: %who int\n    alpha\n    \n    In [5]: %who str\n    beta\n    \n    In [6]: %whos\n    Variable   Type    Data/Info\n    ----------------------------\n    alpha      int     123\n    beta       str     beta\n    \n    In [7]: %who_ls\n    Out[7]: ['alpha', 'beta']\n    "
doctest for %who

In [1]: %reset -f

In [2]: alpha = 123

In [3]: beta = 'beta'

In [4]: %who int
alpha

In [5]: %who str
beta

In [6]: %whos
Variable   Type    Data/Info
----------------------------
alpha      int     123
beta       str     beta

In [7]: %who_ls
Out[7]: ['alpha', 'beta']
def doctest_who():
    "doctest for %who\n    \n    In [1]: %reset -f\n    \n    In [2]: alpha = 123\n    \n    In [3]: beta = 'beta'\n    \n    In [4]: %who int\n    alpha\n    \n    In [5]: %who str\n    beta\n    \n    In [6]: %whos\n    Variable   Type    Data/Info\n    ----------------------------\n    alpha      int     123\n    beta       str     beta\n    \n    In [7]: %who_ls\n    Out[7]: ['alpha', 'beta']\n    "