# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT CRT_ASSEMBLY_VERSION = '14.0.24210.0' LK_LOCK = 1 LK_NBLCK = 2 LK_NBRLCK = 4 LK_RLCK = 3 LK_UNLCK = 0 SEM_FAILCRITICALERRORS = 1 SEM_NOALIGNMENTFAULTEXCEPT = 4 SEM_NOGPFAULTERRORBOX = 2 SEM_NOOPENFILEERRORBOX = 32768 def SetErrorMode(mode): """ Wrapper around SetErrorMode. """ pass __doc__ = None class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ def create_module(self, spec): """ Create a built-in module """ pass def exec_module(self, module): """ Exec a built-in module """ pass def find_module(self, fullname, path=None): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. This method is deprecated. Use find_spec() instead. """ pass def find_spec(self, fullname, path=None, target=None): pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self, fullname): """ Load the specified module into sys.modules and return it. This method is deprecated. Use loader.exec_module instead. """ pass def module_repr(self, module): """ Return repr for the module. The method is deprecated. The import machinery does the job itself. """ pass __name__ = 'msvcrt' __package__ = '' __spec__ = None def get_osfhandle(fd): """ Return the file handle for the file descriptor fd. Raises OSError if fd is not recognized. """ pass def getch(): """ Read a keypress and return the resulting character as a byte string. Nothing is echoed to the console. This call will block if a keypress is not already available, but will not wait for Enter to be pressed. If the pressed key was a special function key, this will return '\\000' or '\\xe0'; the next call will return the keycode. The Control-C keypress cannot be read with this function. """ pass def getche(): """ Similar to getch(), but the keypress will be echoed if possible. """ pass def getwch(): """ Wide char variant of getch(), returning a Unicode value. """ pass def getwche(): """ Wide char variant of getche(), returning a Unicode value. """ pass def heapmin(): """ Minimize the malloc() heap. Force the malloc() heap to clean itself up and return unused blocks to the operating system. On failure, this raises OSError. """ pass def kbhit(): """ Return true if a keypress is waiting to be read. """ pass def locking(fd, mode, nbytes): """ Lock part of a file based on file descriptor fd from the C runtime. Raises OSError on failure. The locked region of the file extends from the current file position for nbytes bytes, and may continue beyond the end of the file. mode must be one of the LK_* constants listed below. Multiple regions in a file may be locked at the same time, but may not overlap. Adjacent regions are not merged; they must be unlocked individually. """ pass def open_osfhandle(handle, flags): """ Create a C runtime file descriptor from the file handle handle. The flags parameter should be a bitwise OR of os.O_APPEND, os.O_RDONLY, and os.O_TEXT. The returned file descriptor may be used as a parameter to os.fdopen() to create a file object. """ pass def putch(char): """ Print the byte string char to the console without buffering. """ pass def putwch(unicode_char): """ Wide char variant of putch(), accepting a Unicode value. """ pass def setmode(fd, mode): """ Set the line-end translation mode for the file descriptor fd. To set it to text mode, flags should be os.O_TEXT; for binary, it should be os.O_BINARY. Return value is the previous mode. """ pass def ungetch(char): """ Opposite of getch. Cause the byte string char to be "pushed back" into the console buffer; it will be the next character read by getch() or getche(). """ pass def ungetwch(unicode_char): """ Wide char variant of ungetch(), accepting a Unicode value. """ pass