Skip to content

Commit b2c332e

Browse files
committed
readme: update function groups example
1 parent 7437389 commit b2c332e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,14 @@ etc):
448448
import talib
449449

450450
# list of functions
451-
print talib.get_functions()
451+
for name in talib.get_functions():
452+
print(name)
452453

453454
# dict of functions by group
454-
print talib.get_function_groups()
455+
for group, names in talib.get_function_groups():
456+
print(group)
457+
for name in names:
458+
print(name)
455459
```
456460

457461
### Indicator Groups

0 commit comments

Comments
 (0)