tarfile.TarInfo.isblk()

TarInfo.isblk() Return True if it is a block device.

tarfile.TarInfo.frombuf()

classmethod TarInfo.frombuf(buf, encoding, errors) Create and return a TarInfo object from string buffer buf. Raises HeaderError if the buffer is invalid.

bdb.Bdb.runeval()

runeval(expr, globals=None, locals=None) Debug an expression executed via the eval() function. globals and locals have the same meaning as in run().

queue.Queue.full()

Queue.full() Return True if the queue is full, False otherwise. If full() returns True it doesn’t guarantee that a subsequent call to get() will not block. Similarly, if full() returns False it doesn’t guarantee that a subsequent call to put() will not block.

shlex.split()

shlex.split(s, comments=False, posix=True) Split the string s using shell-like syntax. If comments is False (the default), the parsing of comments in the given string will be disabled (setting the commenters attribute of the shlex instance to the empty string). This function operates in POSIX mode by default, but uses non-POSIX mode if the posix argument is false. Note Since the split() function instantiates a shlex instance, passing None for s will read the string to split from standard in

time.perf_counter()

time.perf_counter() Return the value (in fractional seconds) of a performance counter, i.e. a clock with the highest available resolution to measure a short duration. It does include time elapsed during sleep and is system-wide. The reference point of the returned value is undefined, so that only the difference between the results of consecutive calls is valid. New in version 3.3.

random.SystemRandom

class random.SystemRandom([seed]) Class that uses the os.urandom() function for generating random numbers from sources provided by the operating system. Not available on all systems. Does not rely on software state, and sequences are not reproducible. Accordingly, the seed() method has no effect and is ignored. The getstate() and setstate() methods raise NotImplementedError if called.

tarfile.TarFile.add()

TarFile.add(name, arcname=None, recursive=True, exclude=None, *, filter=None) Add the file name to the archive. name may be any type of file (directory, fifo, symbolic link, etc.). If given, arcname specifies an alternative name for the file in the archive. Directories are added recursively by default. This can be avoided by setting recursive to False. If exclude is given, it must be a function that takes one filename argument and returns a boolean value. Depending on this value the respecti

calendar.month()

calendar.month(theyear, themonth, w=0, l=0) Returns a month’s calendar in a multi-line string using the formatmonth() of the TextCalendar class.

urllib.robotparser.RobotFileParser.read()

read() Reads the robots.txt URL and feeds it to the parser.