mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Added dir() function
Added dir() function
This commit is contained in:
parent
bbb3cf771b
commit
178eaad9df
@ -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)
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user