File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -1902,20 +1902,6 @@ pycall_tuple_to_a(VALUE obj)
1902
1902
return pycall_pytuple_to_a (pyobj );
1903
1903
}
1904
1904
1905
- static VALUE
1906
- pycall_tuple_inspect (VALUE obj )
1907
- {
1908
- PyObject * pyobj , * repr ;
1909
-
1910
- pyobj = pycall_pyobject_wrapper_check_get_pyobj_ptr (obj , Py_API (PyTuple_Type ));
1911
- repr = Py_API (PyObject_Repr )(pyobj );
1912
- if (!repr ) {
1913
- pycall_pyerror_fetch_and_raise ("PyObject_Repr in pycall_tuple_inspect" );
1914
- }
1915
-
1916
- return pycall_pystring_to_ruby (pyobj );
1917
- }
1918
-
1919
1905
static VALUE
1920
1906
pycall_pyerror_s_occurred_p (VALUE klass )
1921
1907
{
@@ -1944,7 +1930,6 @@ init_tuple(void)
1944
1930
rb_define_singleton_method (cTuple , "new" , pycall_tuple_s_new , -1 );
1945
1931
rb_define_method (cTuple , "length" , pycall_tuple_length , 0 );
1946
1932
rb_define_method (cTuple , "to_a" , pycall_tuple_to_a , 0 );
1947
- rb_define_method (cTuple , "inspect" , pycall_tuple_inspect , 0 );
1948
1933
}
1949
1934
1950
1935
void
You can’t perform that action at this time.
0 commit comments