In the Python library file Python34 / Lib / socket.py, the _socket module is imported:
import _socket from _socket import *
but I could not find _socket anywhere in the library.
Can someone explain what _socket is?
_socketis a shared library that provides the C implementation for the most part socket.py. (Indeed, the first line socket.pysays the module is a wrapper around _socket.) It is not intended to be used directly.
_socket
socket.py
Source: https://habr.com/ru/post/1613758/More articles:How to prevent Hangfire from re-running after a restart after 30 minutes of continuous execution - asp.netAny possible way to rasterize views in Android, as in iOS? - androidИспользование памяти идет вразрез с доской Doctrine bulk - phpWhy does free-run mode stop the negative appearance from working? - ruby | fooobar.comSelenium Remote Webdriver gives JSONDecodeError - python-3.5How to stop the rails server from the command line? - command-linewhy table and tablebuilder in leveldb use struct rep? - c ++Package dependency package unavailable - rПочему мой интервал отмены AngularJS не работает - javascriptAdding minimal elements to a sequence - javaAll Articles