gopy icon indicating copy to clipboard operation
gopy copied to clipboard

text/template/parse

Open zokrezyl opened this issue 1 year ago • 0 comments

Hi, wanted to create wrapper for the standard text/template/parse/library but the generated code contains following:

			if  3 < len(args):
				self.True = args[3]

where


	@property
	def True(self):
		return _htoy.parse_BoolNode_True_Get(self.handle)

which obviously leads to the following python error:

byte-compiling build/bdist.macosx-14-x86_64/egg/htoy/go.py to go.cpython-311.pyc
byte-compiling build/bdist.macosx-14-x86_64/egg/htoy/parse.py to parse.cpython-311.pyc
  File "build/bdist.macosx-14-x86_64/egg/htoy/parse.py", line 1490
                                self.True = args[3]

Thanks for considering this and hope it helps to improve your wonderful work

Greets Zokrezyl

zokrezyl avatar Jul 26 '24 11:07 zokrezyl