Skip to content

Commit

Permalink
fix documentation bug extract_objects_from_source -> extract_objects
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-etzkorn authored and umarcor committed Oct 16, 2021
1 parent b459c8b commit c19e1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Each port and generic is an instance of :py:class:`~hdlparse.verilog_parser.Veri
import hdlparse.verilog_parser as vlog
vlog_ex = vlog.VerilogExtractor()
vlog_mods = vlog_ex.extract_objects_from_source('example.v')
vlog_mods = vlog_ex.extract_objects('example.v')
for m in vlog_mods:
print('Module "{}":'.format(m.name))
Expand Down

0 comments on commit c19e1f0

Please sign in to comment.