From 575290f5be05b30a34412bbeaff43da40fed21d8 Mon Sep 17 00:00:00 2001 From: ghoal Date: Mon, 30 Oct 2017 21:19:20 +0900 Subject: [PATCH] added files --- README.txt | 3 +++ convert.in | 13 +++++++++++++ convert.out | 7 +++++++ 3 files changed, 23 insertions(+) create mode 100644 README.txt create mode 100644 convert.in create mode 100644 convert.out diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..142b051 --- /dev/null +++ b/README.txt @@ -0,0 +1,3 @@ +changed the convert.py code +from print " ... " +to print(" ...") diff --git a/convert.in b/convert.in new file mode 100644 index 0000000..806ea6f --- /dev/null +++ b/convert.in @@ -0,0 +1,13 @@ +[XMLAttribute("name")] +public String Name +{ + get + { + return this.strName; + } + set + { + if (value == null) return; + this.strName = value; + } +} diff --git a/convert.out b/convert.out new file mode 100644 index 0000000..86d312b --- /dev/null +++ b/convert.out @@ -0,0 +1,7 @@ +[XMLAttribute("name")] +def String Name + get + return self.strName + set + if value is None) return: + self.strName = value