diff options
author | C. Scott Ananian <cscott@litl.com> | 2009-06-12 10:57:38 -0400 |
---|---|---|
committer | C. Scott Ananian <cscott@litl.com> | 2009-06-12 11:24:47 -0400 |
commit | c5dedb9cf43110990ef788e468cf23aef0cf83fb (patch) | |
tree | 9cd8e5bccb734f8466d052d2f04a46bde076d6d4 /giscanner/ast.py | |
parent | db214ed923cfe9fc75432d5338e8a3b0d9c83d25 (diff) | |
download | gobject-introspection-c5dedb9cf43110990ef788e468cf23aef0cf83fb.tar.gz |
Bug 581685: Parse parameterized types (using <>) in annotations.
You can now specify a nested parameterized type in annotations as
(for example):
@param: (type GLib.HashTable<utf8,GLib.HashTable<utf,utf>>)
or
@param: (element-type utf8 GLib.HashTable<utf,utf>)
New test functions for the Everything typelib show how it works.
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r-- | giscanner/ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py index b0db6e23..0d1b9f3b 100644 --- a/giscanner/ast.py +++ b/giscanner/ast.py @@ -300,7 +300,7 @@ class Map(Type): self.value_type = value_type def __repr__(self): - return 'Map(%r <%r,%r.)' % (self.name, self.key_type, self.value_type) + return 'Map(%r <%r,%r>)' % (self.name, self.key_type, self.value_type) class Alias(Node): |