11package org .python .modules ;
22
3- import org .python .core .ClassDictInit ;
43import org .python .core .Py ;
5- import org .python .core .PyException ;
6- import org .python .core .PyInteger ;
74import org .python .core .PyObject ;
85
96public class gc {
@@ -34,12 +31,12 @@ public static PyObject get_count() {
3431 throw Py .NotImplementedError ("not applicable to Java GC" );
3532 }
3633
37- public static void set_debug () {
34+ public static void set_debug (int flags ) {
3835 throw Py .NotImplementedError ("not applicable to Java GC" );
3936 }
4037 public static int get_debug () { return 0 ; }
4138
42- public static void set_threshold () {
39+ public static void set_threshold (PyObject [] args , String [] kwargs ) {
4340 throw Py .NotImplementedError ("not applicable to Java GC" );
4441 }
4542 public static PyObject get_threshold () {
@@ -49,10 +46,10 @@ public static PyObject get_threshold() {
4946 public static PyObject get_objects () {
5047 throw Py .NotImplementedError ("not applicable to Java GC" );
5148 }
52- public static PyObject get_referrers () {
49+ public static PyObject get_referrers (PyObject [] args , String [] kwargs ) {
5350 throw Py .NotImplementedError ("not applicable to Java GC" );
5451 }
55- public static PyObject get_referents () {
52+ public static PyObject get_referents (PyObject [] args , String [] kwargs ) {
5653 throw Py .NotImplementedError ("not applicable to Java GC" );
5754 }
5855
0 commit comments