Code

backport documentation fix
[rrdtool-all.git] / program / doc / rrdpython.pod
index f041b0b59b0eed011bb592a1c6d48f3de0cf9879..c8d49f099e8754677035b7bdcd18150cd9239775 100644 (file)
@@ -40,7 +40,7 @@ to the other B<rrdtool> documentation for functions and valid arguments.
 
  info = rrdtool.info('downloads.rrd')
  print info['last_update']
- print info['ds']['downloads']['minimal_heartbeat']
+ print info['ds[downloads].minimal_heartbeat']
 
 If you use the B<site-python-install> make target you can drop to first sys.path.append
 line since the rrdtool module will be available everywhere.