Skip to content

Commit ad4b449

Browse files
author
Randall C. O'Reilly
committed
fix class constructor for non-gogi
1 parent 40bdc3c commit ad4b449

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyprint/nodes.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,6 +1701,8 @@ func (p *printer) spec(spec ast.Spec, n int, doIndent bool) {
17011701
p.expr(s.Name)
17021702
if p.Mode&GoGi != 0 {
17031703
p.print("(pygiv.ClassViewObj):", newline)
1704+
} else {
1705+
p.print(":", newline)
17041706
}
17051707
// if n == 1 {
17061708
// p.print(blank)

0 commit comments

Comments
 (0)