I was trying to dive in python and evaluating some of the builtin functions.
The dir function returns a string list containing the names of all attributes of the given module.
Because of that if I run the following code segment, I get an empty list:

```
import string
[x for x in dir(string) if callable(x) ]

```

Is There other functions or other ways, that I can combine with `dir(string)` for getting a list of Objects instead of row strings?

my goal is to do something like:

```
import string
[ x for x in ***(dir(string)) if callable(x) ]

```

and not something like the example in [dive in python book](http://www.diveintopython.net/power_of_introspection/index.html#apihelper.divein)

```
 methodList = [method for method in dir(object) if callable(getattr(object, method))]

```