Skip to content

Commit 6c8e052

Browse files
committed
docs: update usage example
Add example for pfx table iteration
1 parent a53b93f commit 6c8e052

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ Example
6161
else:
6262
print('Invalid response')
6363

64+
# iterate over all ipv4 record and print them
65+
for recordv4 in mgr.ipv4_records():
66+
print(recordv4)
67+
6468
mgr.stop()
6569

6670

0 commit comments

Comments
 (0)