id int64 0 2.72k | content stringlengths 5 4.1k | language stringclasses 4
values | embedding unknown |
|---|---|---|---|
0 | symtable Access to the compiler s symbol tables Source code Lib symtable py Symbol tables are generated by the compiler from AST just before bytecode is generated The symbol table is responsible for calculating the scope of every identifier in the code symtable provides an interface to examine these tables Generating S... | en | [
91,
45,
48,
46,
48,
51,
57,
57,
56,
57,
55,
49,
55,
51,
48,
52,
55,
48,
54,
53,
55,
51,
44,
45,
48,
46,
48,
51,
50,
57,
49,
52,
54,
56,
54,
57,
52,
56,
48,
54,
48,
57,
57,
44,
45,
48,
46,
48,
53,
57,
56,
53,
52,
... |
1 | me If more than one or no namespace is bound to this name a ValueError is raised | en | [
91,
45,
48,
46,
48,
56,
48,
51,
52,
48,
48,
51,
53,
50,
53,
57,
55,
50,
51,
54,
54,
44,
45,
48,
46,
48,
51,
53,
57,
56,
48,
54,
51,
48,
54,
54,
54,
48,
49,
55,
53,
51,
44,
45,
48,
46,
48,
48,
53,
48,
57,
52,
54,
... |
2 | lzma Compression using the LZMA algorithm New in version 3 3 Source code Lib lzma py This module provides classes and convenience functions for compressing and decompressing data using the LZMA compression algorithm Also included is a file interface supporting the xz and legacy lzma file formats used by the xz utility ... | en | [
91,
45,
48,
46,
48,
56,
57,
50,
49,
53,
55,
52,
56,
48,
49,
50,
48,
54,
53,
56,
57,
44,
48,
46,
48,
51,
52,
50,
49,
48,
55,
56,
54,
50,
50,
51,
52,
49,
49,
53,
54,
44,
45,
48,
46,
48,
57,
57,
57,
53,
53,
56,
55,
... |
3 | n memory class lzma LZMACompressor format FORMAT_XZ check 1 preset None filters None Create a compressor object which can be used to compress data incrementally For a more convenient way of compressing a single chunk of data see compress The format argument specifies what container format should be used Possible values... | en | [
91,
45,
48,
46,
48,
53,
57,
55,
48,
56,
52,
54,
49,
49,
54,
53,
52,
50,
56,
49,
54,
44,
48,
46,
48,
53,
57,
53,
50,
54,
55,
54,
48,
49,
51,
49,
49,
50,
48,
54,
56,
44,
45,
48,
46,
49,
49,
56,
53,
57,
52,
57,
56,
... |
4 | Some of data may be buffered internally for use in later calls to decompress The returned data should be concatenated with the output of any previous calls to decompress If max_length is nonnegative returns at most max_length bytes of decompressed data If this limit is reached and further output can be produced the ne... | en | [
91,
45,
48,
46,
48,
54,
49,
57,
53,
49,
54,
53,
50,
49,
54,
57,
50,
50,
55,
54,
44,
48,
46,
48,
49,
53,
55,
55,
51,
54,
51,
57,
48,
56,
50,
57,
48,
56,
54,
51,
44,
45,
48,
46,
48,
52,
48,
54,
49,
49,
51,
50,
50,
... |
5 | nvert relative branches calls and jumps in the code to use absolute addressing with the aim of increasing the redundancy that can be exploited by the compressor These filters support one option start_offset This specifies the address that should be mapped to the beginning of the input data The default is 0 Examples Rea... | en | [
91,
45,
48,
46,
48,
55,
57,
51,
50,
56,
56,
56,
55,
49,
54,
52,
53,
57,
50,
55,
52,
44,
48,
46,
48,
52,
51,
52,
52,
50,
56,
48,
52,
51,
54,
54,
51,
53,
48,
49,
55,
52,
44,
45,
48,
46,
48,
53,
48,
53,
50,
54,
51,
... |
6 | keyword Testing for Python keywords Source code Lib keyword py This module allows a Python program to determine if a string is a keyword or soft keyword keyword iskeyword s Return True if s is a Python keyword keyword kwlist Sequence containing all the keywords defined for the interpreter If any keywords are defined to... | en | [
91,
45,
48,
46,
48,
56,
57,
53,
57,
56,
56,
49,
50,
49,
54,
50,
56,
55,
54,
49,
51,
44,
45,
48,
46,
48,
51,
57,
51,
49,
51,
52,
53,
52,
49,
56,
48,
57,
53,
53,
56,
57,
44,
48,
46,
48,
48,
55,
48,
56,
52,
49,
54,
... |
7 | Design and History FAQ Why does Python use indentation for grouping of statements Guido van Rossum believes that using indentation for grouping is extremely elegant and contributes a lot to the clarity of the average Python program Most people learn to love this feature after a while Since there are no begin end bracke... | en | [
91,
45,
48,
46,
48,
56,
49,
50,
55,
49,
48,
50,
50,
53,
53,
56,
50,
49,
50,
50,
56,
44,
48,
46,
48,
52,
55,
49,
56,
51,
53,
54,
53,
55,
57,
53,
52,
50,
49,
54,
44,
48,
46,
48,
49,
50,
51,
52,
57,
50,
48,
54,
57,
... |
8 | up the class definition to be sure Some C and Java coding standards call for instance attributes to have an m_ prefix so this explicitness is still useful in those languages too Second it means that no special syntax is necessary if you want to explicitly reference or call the method from a particular class In C if yo... | en | [
91,
45,
48,
46,
48,
56,
48,
57,
49,
49,
48,
53,
53,
50,
48,
55,
50,
53,
50,
53,
44,
48,
46,
48,
49,
57,
55,
53,
51,
55,
49,
49,
50,
57,
56,
49,
48,
56,
49,
44,
48,
46,
48,
51,
50,
49,
50,
56,
52,
53,
54,
57,
55,
... |
9 | mited by the given separator or by default arbitrary runs of white space join is a string method because in using it you are telling the separator string to iterate over a sequence of strings and insert itself between adjacent elements This method can be used with any argument which obeys the rules for sequence objects... | en | [
91,
45,
48,
46,
48,
48,
48,
53,
53,
57,
57,
48,
50,
54,
57,
49,
55,
52,
55,
57,
57,
51,
50,
44,
48,
46,
48,
51,
48,
55,
55,
51,
51,
57,
57,
51,
57,
55,
55,
51,
48,
56,
50,
55,
44,
48,
46,
48,
51,
57,
48,
57,
49,
... |
10 | The gc module provides functions to perform a garbage collection obtain debugging statistics and tune the collector s parameters Other implementations such as Jython or PyPy however can rely on a different mechanism such as a full blown garbage collector This difference can cause some subtle porting problems if your P... | en | [
91,
45,
48,
46,
48,
56,
51,
56,
52,
51,
55,
51,
55,
56,
52,
48,
54,
53,
50,
52,
55,
44,
45,
48,
46,
48,
52,
53,
50,
48,
50,
55,
49,
51,
52,
53,
57,
55,
51,
48,
49,
53,
44,
45,
48,
46,
48,
55,
49,
49,
57,
54,
54,
... |
11 | ems repeatedly when the array must be grown some extra space is allocated so the next few times don t require an actual resize How are dictionaries implemented in CPython CPython s dictionaries are implemented as resizable hash tables Compared to B trees this gives better performance for lookup the most common operatio... | en | [
91,
45,
48,
46,
48,
48,
57,
48,
48,
56,
50,
53,
56,
53,
56,
49,
49,
54,
49,
52,
57,
57,
44,
48,
46,
48,
53,
51,
55,
54,
53,
48,
49,
55,
53,
51,
57,
50,
54,
50,
55,
55,
44,
45,
48,
46,
48,
50,
56,
48,
48,
54,
53,
... |
12 | ary or not If you fail to meet these restrictions dictionaries and other hash based structures will misbehave In the case of ListWrapper whenever the wrapper object is in a dictionary the wrapped list must not change to avoid anomalies Don t do this unless you are prepared to think hard about the requirements and the c... | en | [
91,
45,
48,
46,
48,
57,
52,
54,
50,
51,
56,
55,
56,
53,
57,
56,
50,
49,
51,
50,
44,
48,
46,
48,
48,
52,
48,
49,
50,
55,
51,
56,
51,
53,
52,
53,
48,
52,
49,
48,
56,
44,
48,
46,
48,
52,
53,
54,
50,
55,
49,
52,
54,
... |
13 | mber of backslashes the unpaired backslash at the end escapes the closing quote character leaving an unterminated string Raw strings were designed to ease creating input for processors chiefly regular expression engines that want to do their own backslash escape processing Such processors consider an unmatched trailing... | en | [
91,
45,
48,
46,
48,
55,
51,
57,
49,
56,
55,
55,
52,
55,
50,
52,
48,
48,
54,
54,
53,
44,
45,
48,
46,
48,
50,
48,
49,
48,
49,
51,
52,
50,
51,
53,
48,
50,
52,
52,
53,
50,
50,
44,
48,
46,
48,
52,
56,
53,
48,
57,
52,
... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 5