Skip to content

Commit d441295

Browse files
committed
regen per r6903
1 parent dcb07a9 commit d441295

121 files changed

Lines changed: 242 additions & 1452 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/org/python/antlr/ast/AssertDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

src/org/python/antlr/ast/AssignDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

src/org/python/antlr/ast/AttributeDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

src/org/python/antlr/ast/AugAssignDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

src/org/python/antlr/ast/BinOpDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

src/org/python/antlr/ast/BoolOpDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

src/org/python/antlr/ast/BreakDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

src/org/python/antlr/ast/CallDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

src/org/python/antlr/ast/ClassDefDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

src/org/python/antlr/ast/CompareDerived.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,18 +1054,8 @@ public PyObject __pow__(PyObject other,PyObject modulo) {
10541054
return super.__pow__(other,modulo);
10551055
}
10561056

1057-
public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
1058-
PyType self_type=getType();
1059-
if (self_type.isSubType(type)) {
1060-
PyObject impl=self_type.lookup("__init__");
1061-
if (impl!=null) {
1062-
PyObject res=impl.__get__(this,self_type).__call__(args,keywords);
1063-
if (res!=Py.None) {
1064-
throw Py.TypeError(String.format("__init__() should return None, not '%.200s'",res.getType().fastGetName()));
1065-
}
1066-
proxyInit();
1067-
}
1068-
}
1057+
public void dispatch__init__(PyObject[]args,String[]keywords) {
1058+
Deriveds.dispatch__init__(this,args,keywords);
10691059
}
10701060

10711061
public PyObject __index__() {

0 commit comments

Comments
 (0)