summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Kopp <vifactor@gmail.com>2021-06-07 12:15:03 +0200
committerGitHub <noreply@github.com>2021-06-07 12:15:03 +0200
commit786770399748e8f91362124a6398bffc6db8b783 (patch)
tree4f350d29b502fd3ae64d52569960045d4f0efd9e
parentd3af953c1de653453be0977d837744c625ac7cd0 (diff)
downloadqtivi-qface-786770399748e8f91362124a6398bffc6db8b783.tar.gz
Update README.md (#86)
#85 issue
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 201cc93..d15fd7b 100644
--- a/README.md
+++ b/README.md
@@ -108,8 +108,8 @@ system = FileSystem.parse('echo.qface')
generator = Generator(searchpath='.')
# iterate over the domain model
-for module in system:
- for interface in module:
+for module in system.modules:
+ for interface in module.interfaces:
# prepare a context object
ctx = { 'interface': interface }
# use header.h template with ctx to write to a file