Added dir() function

Added dir() function
This commit is contained in:
Yaser Alraddadi 2013-07-03 01:33:48 +03:00
parent bbb3cf771b
commit 178eaad9df

View File

@ -461,6 +461,11 @@ math.sqrt(16) == m.sqrt(16) #=> True
# can write your own, and import them. The name of the
# module is the same as the name of the file.
# You can find out which functions and attributes
# defines a module.
import math
dir(math)
```