File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -6976,18 +6976,6 @@ Set the default timeout in seconds (float) for new socket objects.\n\
69766976A value of None indicates that new socket objects have no timeout.\n\
69776977When the socket module is first imported, the default is None." );
69786978
6979- static PyObject *
6980- socket_getattr (PyObject * self , PyObject * name )
6981- {
6982- const char * attrname = PyUnicode_AsUTF8 (name );
6983- if (strcmp (attrname , "asd" ) == 0 ) {
6984- return PyLong_FromLong (42 );
6985- }
6986-
6987- PyErr_Format (PyExc_AttributeError , "Module has no attribute '%s'" , attrname );
6988- return NULL ;
6989- }
6990-
69916979#if defined(HAVE_IF_NAMEINDEX ) || defined(MS_WINDOWS )
69926980/* Python API for getting interface indices and names */
69936981
You can’t perform that action at this time.
0 commit comments