Skip to content

Commit

Permalink
Fixed example in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Aug 24, 2021
1 parent a1c8a40 commit ed341ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ for entity in document.Entities:
print(" generics:")
for generic in entity.GenericItems:
print(" - {} : {!s} {}".format(
generic.Identifier, generic.Mode, generic.Subtype)
", ".join([str(i) for i in generic.Identifiers]), generic.Mode, generic.Subtype)
)
print(" ports:")
for port in entity.PortItems:
print(" - {} : {!s} {}".format(
port.Identifier, port.Mode, port.Subtype)
", ".join([str(i) for i in port.Identifiers]), port.Mode, port.Subtype)
)
```

Expand Down

0 comments on commit ed341ae

Please sign in to comment.