Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/lib64/python3..../pydoc_da...
File: topics.py
# -*- coding: utf-8 -*-
[0] Fix | Delete
# Autogenerated by Sphinx on Sun Dec 23 16:24:21 2018
[1] Fix | Delete
topics = {'assert': 'The "assert" statement\n'
[2] Fix | Delete
'**********************\n'
[3] Fix | Delete
'\n'
[4] Fix | Delete
'Assert statements are a convenient way to insert debugging '
[5] Fix | Delete
'assertions\n'
[6] Fix | Delete
'into a program:\n'
[7] Fix | Delete
'\n'
[8] Fix | Delete
' assert_stmt ::= "assert" expression ["," expression]\n'
[9] Fix | Delete
'\n'
[10] Fix | Delete
'The simple form, "assert expression", is equivalent to\n'
[11] Fix | Delete
'\n'
[12] Fix | Delete
' if __debug__:\n'
[13] Fix | Delete
' if not expression: raise AssertionError\n'
[14] Fix | Delete
'\n'
[15] Fix | Delete
'The extended form, "assert expression1, expression2", is '
[16] Fix | Delete
'equivalent to\n'
[17] Fix | Delete
'\n'
[18] Fix | Delete
' if __debug__:\n'
[19] Fix | Delete
' if not expression1: raise AssertionError(expression2)\n'
[20] Fix | Delete
'\n'
[21] Fix | Delete
'These equivalences assume that "__debug__" and "AssertionError" '
[22] Fix | Delete
'refer\n'
[23] Fix | Delete
'to the built-in variables with those names. In the current\n'
[24] Fix | Delete
'implementation, the built-in variable "__debug__" is "True" under\n'
[25] Fix | Delete
'normal circumstances, "False" when optimization is requested '
[26] Fix | Delete
'(command\n'
[27] Fix | Delete
'line option "-O"). The current code generator emits no code for '
[28] Fix | Delete
'an\n'
[29] Fix | Delete
'assert statement when optimization is requested at compile time. '
[30] Fix | Delete
'Note\n'
[31] Fix | Delete
'that it is unnecessary to include the source code for the '
[32] Fix | Delete
'expression\n'
[33] Fix | Delete
'that failed in the error message; it will be displayed as part of '
[34] Fix | Delete
'the\n'
[35] Fix | Delete
'stack trace.\n'
[36] Fix | Delete
'\n'
[37] Fix | Delete
'Assignments to "__debug__" are illegal. The value for the '
[38] Fix | Delete
'built-in\n'
[39] Fix | Delete
'variable is determined when the interpreter starts.\n',
[40] Fix | Delete
'assignment': 'Assignment statements\n'
[41] Fix | Delete
'*********************\n'
[42] Fix | Delete
'\n'
[43] Fix | Delete
'Assignment statements are used to (re)bind names to values and '
[44] Fix | Delete
'to\n'
[45] Fix | Delete
'modify attributes or items of mutable objects:\n'
[46] Fix | Delete
'\n'
[47] Fix | Delete
' assignment_stmt ::= (target_list "=")+ (starred_expression '
[48] Fix | Delete
'| yield_expression)\n'
[49] Fix | Delete
' target_list ::= target ("," target)* [","]\n'
[50] Fix | Delete
' target ::= identifier\n'
[51] Fix | Delete
' | "(" [target_list] ")"\n'
[52] Fix | Delete
' | "[" [target_list] "]"\n'
[53] Fix | Delete
' | attributeref\n'
[54] Fix | Delete
' | subscription\n'
[55] Fix | Delete
' | slicing\n'
[56] Fix | Delete
' | "*" target\n'
[57] Fix | Delete
'\n'
[58] Fix | Delete
'(See section Primaries for the syntax definitions for '
[59] Fix | Delete
'*attributeref*,\n'
[60] Fix | Delete
'*subscription*, and *slicing*.)\n'
[61] Fix | Delete
'\n'
[62] Fix | Delete
'An assignment statement evaluates the expression list '
[63] Fix | Delete
'(remember that\n'
[64] Fix | Delete
'this can be a single expression or a comma-separated list, the '
[65] Fix | Delete
'latter\n'
[66] Fix | Delete
'yielding a tuple) and assigns the single resulting object to '
[67] Fix | Delete
'each of\n'
[68] Fix | Delete
'the target lists, from left to right.\n'
[69] Fix | Delete
'\n'
[70] Fix | Delete
'Assignment is defined recursively depending on the form of the '
[71] Fix | Delete
'target\n'
[72] Fix | Delete
'(list). When a target is part of a mutable object (an '
[73] Fix | Delete
'attribute\n'
[74] Fix | Delete
'reference, subscription or slicing), the mutable object must\n'
[75] Fix | Delete
'ultimately perform the assignment and decide about its '
[76] Fix | Delete
'validity, and\n'
[77] Fix | Delete
'may raise an exception if the assignment is unacceptable. The '
[78] Fix | Delete
'rules\n'
[79] Fix | Delete
'observed by various types and the exceptions raised are given '
[80] Fix | Delete
'with the\n'
[81] Fix | Delete
'definition of the object types (see section The standard type\n'
[82] Fix | Delete
'hierarchy).\n'
[83] Fix | Delete
'\n'
[84] Fix | Delete
'Assignment of an object to a target list, optionally enclosed '
[85] Fix | Delete
'in\n'
[86] Fix | Delete
'parentheses or square brackets, is recursively defined as '
[87] Fix | Delete
'follows.\n'
[88] Fix | Delete
'\n'
[89] Fix | Delete
'* If the target list is a single target with no trailing '
[90] Fix | Delete
'comma,\n'
[91] Fix | Delete
' optionally in parentheses, the object is assigned to that '
[92] Fix | Delete
'target.\n'
[93] Fix | Delete
'\n'
[94] Fix | Delete
'* Else: The object must be an iterable with the same number of '
[95] Fix | Delete
'items\n'
[96] Fix | Delete
' as there are targets in the target list, and the items are '
[97] Fix | Delete
'assigned,\n'
[98] Fix | Delete
' from left to right, to the corresponding targets.\n'
[99] Fix | Delete
'\n'
[100] Fix | Delete
' * If the target list contains one target prefixed with an\n'
[101] Fix | Delete
' asterisk, called a “starred” target: The object must be '
[102] Fix | Delete
'an\n'
[103] Fix | Delete
' iterable with at least as many items as there are targets '
[104] Fix | Delete
'in the\n'
[105] Fix | Delete
' target list, minus one. The first items of the iterable '
[106] Fix | Delete
'are\n'
[107] Fix | Delete
' assigned, from left to right, to the targets before the '
[108] Fix | Delete
'starred\n'
[109] Fix | Delete
' target. The final items of the iterable are assigned to '
[110] Fix | Delete
'the\n'
[111] Fix | Delete
' targets after the starred target. A list of the remaining '
[112] Fix | Delete
'items\n'
[113] Fix | Delete
' in the iterable is then assigned to the starred target '
[114] Fix | Delete
'(the list\n'
[115] Fix | Delete
' can be empty).\n'
[116] Fix | Delete
'\n'
[117] Fix | Delete
' * Else: The object must be an iterable with the same number '
[118] Fix | Delete
'of\n'
[119] Fix | Delete
' items as there are targets in the target list, and the '
[120] Fix | Delete
'items are\n'
[121] Fix | Delete
' assigned, from left to right, to the corresponding '
[122] Fix | Delete
'targets.\n'
[123] Fix | Delete
'\n'
[124] Fix | Delete
'Assignment of an object to a single target is recursively '
[125] Fix | Delete
'defined as\n'
[126] Fix | Delete
'follows.\n'
[127] Fix | Delete
'\n'
[128] Fix | Delete
'* If the target is an identifier (name):\n'
[129] Fix | Delete
'\n'
[130] Fix | Delete
' * If the name does not occur in a "global" or "nonlocal" '
[131] Fix | Delete
'statement\n'
[132] Fix | Delete
' in the current code block: the name is bound to the object '
[133] Fix | Delete
'in the\n'
[134] Fix | Delete
' current local namespace.\n'
[135] Fix | Delete
'\n'
[136] Fix | Delete
' * Otherwise: the name is bound to the object in the global\n'
[137] Fix | Delete
' namespace or the outer namespace determined by '
[138] Fix | Delete
'"nonlocal",\n'
[139] Fix | Delete
' respectively.\n'
[140] Fix | Delete
'\n'
[141] Fix | Delete
' The name is rebound if it was already bound. This may cause '
[142] Fix | Delete
'the\n'
[143] Fix | Delete
' reference count for the object previously bound to the name '
[144] Fix | Delete
'to reach\n'
[145] Fix | Delete
' zero, causing the object to be deallocated and its '
[146] Fix | Delete
'destructor (if it\n'
[147] Fix | Delete
' has one) to be called.\n'
[148] Fix | Delete
'\n'
[149] Fix | Delete
'* If the target is an attribute reference: The primary '
[150] Fix | Delete
'expression in\n'
[151] Fix | Delete
' the reference is evaluated. It should yield an object with\n'
[152] Fix | Delete
' assignable attributes; if this is not the case, "TypeError" '
[153] Fix | Delete
'is\n'
[154] Fix | Delete
' raised. That object is then asked to assign the assigned '
[155] Fix | Delete
'object to\n'
[156] Fix | Delete
' the given attribute; if it cannot perform the assignment, it '
[157] Fix | Delete
'raises\n'
[158] Fix | Delete
' an exception (usually but not necessarily '
[159] Fix | Delete
'"AttributeError").\n'
[160] Fix | Delete
'\n'
[161] Fix | Delete
' Note: If the object is a class instance and the attribute '
[162] Fix | Delete
'reference\n'
[163] Fix | Delete
' occurs on both sides of the assignment operator, the RHS '
[164] Fix | Delete
'expression,\n'
[165] Fix | Delete
' "a.x" can access either an instance attribute or (if no '
[166] Fix | Delete
'instance\n'
[167] Fix | Delete
' attribute exists) a class attribute. The LHS target "a.x" '
[168] Fix | Delete
'is always\n'
[169] Fix | Delete
' set as an instance attribute, creating it if necessary. '
[170] Fix | Delete
'Thus, the\n'
[171] Fix | Delete
' two occurrences of "a.x" do not necessarily refer to the '
[172] Fix | Delete
'same\n'
[173] Fix | Delete
' attribute: if the RHS expression refers to a class '
[174] Fix | Delete
'attribute, the\n'
[175] Fix | Delete
' LHS creates a new instance attribute as the target of the\n'
[176] Fix | Delete
' assignment:\n'
[177] Fix | Delete
'\n'
[178] Fix | Delete
' class Cls:\n'
[179] Fix | Delete
' x = 3 # class variable\n'
[180] Fix | Delete
' inst = Cls()\n'
[181] Fix | Delete
' inst.x = inst.x + 1 # writes inst.x as 4 leaving Cls.x '
[182] Fix | Delete
'as 3\n'
[183] Fix | Delete
'\n'
[184] Fix | Delete
' This description does not necessarily apply to descriptor\n'
[185] Fix | Delete
' attributes, such as properties created with "property()".\n'
[186] Fix | Delete
'\n'
[187] Fix | Delete
'* If the target is a subscription: The primary expression in '
[188] Fix | Delete
'the\n'
[189] Fix | Delete
' reference is evaluated. It should yield either a mutable '
[190] Fix | Delete
'sequence\n'
[191] Fix | Delete
' object (such as a list) or a mapping object (such as a '
[192] Fix | Delete
'dictionary).\n'
[193] Fix | Delete
' Next, the subscript expression is evaluated.\n'
[194] Fix | Delete
'\n'
[195] Fix | Delete
' If the primary is a mutable sequence object (such as a '
[196] Fix | Delete
'list), the\n'
[197] Fix | Delete
' subscript must yield an integer. If it is negative, the '
[198] Fix | Delete
'sequence’s\n'
[199] Fix | Delete
' length is added to it. The resulting value must be a '
[200] Fix | Delete
'nonnegative\n'
[201] Fix | Delete
' integer less than the sequence’s length, and the sequence is '
[202] Fix | Delete
'asked\n'
[203] Fix | Delete
' to assign the assigned object to its item with that index. '
[204] Fix | Delete
'If the\n'
[205] Fix | Delete
' index is out of range, "IndexError" is raised (assignment to '
[206] Fix | Delete
'a\n'
[207] Fix | Delete
' subscripted sequence cannot add new items to a list).\n'
[208] Fix | Delete
'\n'
[209] Fix | Delete
' If the primary is a mapping object (such as a dictionary), '
[210] Fix | Delete
'the\n'
[211] Fix | Delete
' subscript must have a type compatible with the mapping’s key '
[212] Fix | Delete
'type,\n'
[213] Fix | Delete
' and the mapping is then asked to create a key/datum pair '
[214] Fix | Delete
'which maps\n'
[215] Fix | Delete
' the subscript to the assigned object. This can either '
[216] Fix | Delete
'replace an\n'
[217] Fix | Delete
' existing key/value pair with the same key value, or insert a '
[218] Fix | Delete
'new\n'
[219] Fix | Delete
' key/value pair (if no key with the same value existed).\n'
[220] Fix | Delete
'\n'
[221] Fix | Delete
' For user-defined objects, the "__setitem__()" method is '
[222] Fix | Delete
'called with\n'
[223] Fix | Delete
' appropriate arguments.\n'
[224] Fix | Delete
'\n'
[225] Fix | Delete
'* If the target is a slicing: The primary expression in the\n'
[226] Fix | Delete
' reference is evaluated. It should yield a mutable sequence '
[227] Fix | Delete
'object\n'
[228] Fix | Delete
' (such as a list). The assigned object should be a sequence '
[229] Fix | Delete
'object\n'
[230] Fix | Delete
' of the same type. Next, the lower and upper bound '
[231] Fix | Delete
'expressions are\n'
[232] Fix | Delete
' evaluated, insofar they are present; defaults are zero and '
[233] Fix | Delete
'the\n'
[234] Fix | Delete
' sequence’s length. The bounds should evaluate to integers. '
[235] Fix | Delete
'If\n'
[236] Fix | Delete
' either bound is negative, the sequence’s length is added to '
[237] Fix | Delete
'it. The\n'
[238] Fix | Delete
' resulting bounds are clipped to lie between zero and the '
[239] Fix | Delete
'sequence’s\n'
[240] Fix | Delete
' length, inclusive. Finally, the sequence object is asked to '
[241] Fix | Delete
'replace\n'
[242] Fix | Delete
' the slice with the items of the assigned sequence. The '
[243] Fix | Delete
'length of\n'
[244] Fix | Delete
' the slice may be different from the length of the assigned '
[245] Fix | Delete
'sequence,\n'
[246] Fix | Delete
' thus changing the length of the target sequence, if the '
[247] Fix | Delete
'target\n'
[248] Fix | Delete
' sequence allows it.\n'
[249] Fix | Delete
'\n'
[250] Fix | Delete
'**CPython implementation detail:** In the current '
[251] Fix | Delete
'implementation, the\n'
[252] Fix | Delete
'syntax for targets is taken to be the same as for expressions, '
[253] Fix | Delete
'and\n'
[254] Fix | Delete
'invalid syntax is rejected during the code generation phase, '
[255] Fix | Delete
'causing\n'
[256] Fix | Delete
'less detailed error messages.\n'
[257] Fix | Delete
'\n'
[258] Fix | Delete
'Although the definition of assignment implies that overlaps '
[259] Fix | Delete
'between\n'
[260] Fix | Delete
'the left-hand side and the right-hand side are ‘simultaneous’ '
[261] Fix | Delete
'(for\n'
[262] Fix | Delete
'example "a, b = b, a" swaps two variables), overlaps *within* '
[263] Fix | Delete
'the\n'
[264] Fix | Delete
'collection of assigned-to variables occur left-to-right, '
[265] Fix | Delete
'sometimes\n'
[266] Fix | Delete
'resulting in confusion. For instance, the following program '
[267] Fix | Delete
'prints\n'
[268] Fix | Delete
'"[0, 2]":\n'
[269] Fix | Delete
'\n'
[270] Fix | Delete
' x = [0, 1]\n'
[271] Fix | Delete
' i = 0\n'
[272] Fix | Delete
' i, x[i] = 1, 2 # i is updated, then x[i] is '
[273] Fix | Delete
'updated\n'
[274] Fix | Delete
' print(x)\n'
[275] Fix | Delete
'\n'
[276] Fix | Delete
'See also:\n'
[277] Fix | Delete
'\n'
[278] Fix | Delete
' **PEP 3132** - Extended Iterable Unpacking\n'
[279] Fix | Delete
' The specification for the "*target" feature.\n'
[280] Fix | Delete
'\n'
[281] Fix | Delete
'\n'
[282] Fix | Delete
'Augmented assignment statements\n'
[283] Fix | Delete
'===============================\n'
[284] Fix | Delete
'\n'
[285] Fix | Delete
'Augmented assignment is the combination, in a single '
[286] Fix | Delete
'statement, of a\n'
[287] Fix | Delete
'binary operation and an assignment statement:\n'
[288] Fix | Delete
'\n'
[289] Fix | Delete
' augmented_assignment_stmt ::= augtarget augop '
[290] Fix | Delete
'(expression_list | yield_expression)\n'
[291] Fix | Delete
' augtarget ::= identifier | attributeref | '
[292] Fix | Delete
'subscription | slicing\n'
[293] Fix | Delete
' augop ::= "+=" | "-=" | "*=" | "@=" | '
[294] Fix | Delete
'"/=" | "//=" | "%=" | "**="\n'
[295] Fix | Delete
' | ">>=" | "<<=" | "&=" | "^=" | "|="\n'
[296] Fix | Delete
'\n'
[297] Fix | Delete
'(See section Primaries for the syntax definitions of the last '
[298] Fix | Delete
'three\n'
[299] Fix | Delete
'symbols.)\n'
[300] Fix | Delete
'\n'
[301] Fix | Delete
'An augmented assignment evaluates the target (which, unlike '
[302] Fix | Delete
'normal\n'
[303] Fix | Delete
'assignment statements, cannot be an unpacking) and the '
[304] Fix | Delete
'expression\n'
[305] Fix | Delete
'list, performs the binary operation specific to the type of '
[306] Fix | Delete
'assignment\n'
[307] Fix | Delete
'on the two operands, and assigns the result to the original '
[308] Fix | Delete
'target.\n'
[309] Fix | Delete
'The target is only evaluated once.\n'
[310] Fix | Delete
'\n'
[311] Fix | Delete
'An augmented assignment expression like "x += 1" can be '
[312] Fix | Delete
'rewritten as\n'
[313] Fix | Delete
'"x = x + 1" to achieve a similar, but not exactly equal '
[314] Fix | Delete
'effect. In the\n'
[315] Fix | Delete
'augmented version, "x" is only evaluated once. Also, when '
[316] Fix | Delete
'possible,\n'
[317] Fix | Delete
'the actual operation is performed *in-place*, meaning that '
[318] Fix | Delete
'rather than\n'
[319] Fix | Delete
'creating a new object and assigning that to the target, the '
[320] Fix | Delete
'old object\n'
[321] Fix | Delete
'is modified instead.\n'
[322] Fix | Delete
'\n'
[323] Fix | Delete
'Unlike normal assignments, augmented assignments evaluate the '
[324] Fix | Delete
'left-\n'
[325] Fix | Delete
'hand side *before* evaluating the right-hand side. For '
[326] Fix | Delete
'example, "a[i]\n'
[327] Fix | Delete
'+= f(x)" first looks-up "a[i]", then it evaluates "f(x)" and '
[328] Fix | Delete
'performs\n'
[329] Fix | Delete
'the addition, and lastly, it writes the result back to '
[330] Fix | Delete
'"a[i]".\n'
[331] Fix | Delete
'\n'
[332] Fix | Delete
'With the exception of assigning to tuples and multiple targets '
[333] Fix | Delete
'in a\n'
[334] Fix | Delete
'single statement, the assignment done by augmented assignment\n'
[335] Fix | Delete
'statements is handled the same way as normal assignments. '
[336] Fix | Delete
'Similarly,\n'
[337] Fix | Delete
'with the exception of the possible *in-place* behavior, the '
[338] Fix | Delete
'binary\n'
[339] Fix | Delete
'operation performed by augmented assignment is the same as the '
[340] Fix | Delete
'normal\n'
[341] Fix | Delete
'binary operations.\n'
[342] Fix | Delete
'\n'
[343] Fix | Delete
'For targets which are attribute references, the same caveat '
[344] Fix | Delete
'about\n'
[345] Fix | Delete
'class and instance attributes applies as for regular '
[346] Fix | Delete
'assignments.\n'
[347] Fix | Delete
'\n'
[348] Fix | Delete
'\n'
[349] Fix | Delete
'Annotated assignment statements\n'
[350] Fix | Delete
'===============================\n'
[351] Fix | Delete
'\n'
[352] Fix | Delete
'Annotation assignment is the combination, in a single '
[353] Fix | Delete
'statement, of a\n'
[354] Fix | Delete
'variable or attribute annotation and an optional assignment '
[355] Fix | Delete
'statement:\n'
[356] Fix | Delete
'\n'
[357] Fix | Delete
' annotated_assignment_stmt ::= augtarget ":" expression ["=" '
[358] Fix | Delete
'expression]\n'
[359] Fix | Delete
'\n'
[360] Fix | Delete
'The difference from normal Assignment statements is that only '
[361] Fix | Delete
'single\n'
[362] Fix | Delete
'target and only single right hand side value is allowed.\n'
[363] Fix | Delete
'\n'
[364] Fix | Delete
'For simple names as assignment targets, if in class or module '
[365] Fix | Delete
'scope,\n'
[366] Fix | Delete
'the annotations are evaluated and stored in a special class or '
[367] Fix | Delete
'module\n'
[368] Fix | Delete
'attribute "__annotations__" that is a dictionary mapping from '
[369] Fix | Delete
'variable\n'
[370] Fix | Delete
'names (mangled if private) to evaluated annotations. This '
[371] Fix | Delete
'attribute is\n'
[372] Fix | Delete
'writable and is automatically created at the start of class or '
[373] Fix | Delete
'module\n'
[374] Fix | Delete
'body execution, if annotations are found statically.\n'
[375] Fix | Delete
'\n'
[376] Fix | Delete
'For expressions as assignment targets, the annotations are '
[377] Fix | Delete
'evaluated\n'
[378] Fix | Delete
'if in class or module scope, but not stored.\n'
[379] Fix | Delete
'\n'
[380] Fix | Delete
'If a name is annotated in a function scope, then this name is '
[381] Fix | Delete
'local\n'
[382] Fix | Delete
'for that scope. Annotations are never evaluated and stored in '
[383] Fix | Delete
'function\n'
[384] Fix | Delete
'scopes.\n'
[385] Fix | Delete
'\n'
[386] Fix | Delete
'If the right hand side is present, an annotated assignment '
[387] Fix | Delete
'performs\n'
[388] Fix | Delete
'the actual assignment before evaluating annotations (where\n'
[389] Fix | Delete
'applicable). If the right hand side is not present for an '
[390] Fix | Delete
'expression\n'
[391] Fix | Delete
'target, then the interpreter evaluates the target except for '
[392] Fix | Delete
'the last\n'
[393] Fix | Delete
'"__setitem__()" or "__setattr__()" call.\n'
[394] Fix | Delete
'\n'
[395] Fix | Delete
'See also:\n'
[396] Fix | Delete
'\n'
[397] Fix | Delete
' **PEP 526** - Syntax for Variable Annotations\n'
[398] Fix | Delete
' The proposal that added syntax for annotating the types '
[399] Fix | Delete
'of\n'
[400] Fix | Delete
' variables (including class variables and instance '
[401] Fix | Delete
'variables),\n'
[402] Fix | Delete
' instead of expressing them through comments.\n'
[403] Fix | Delete
'\n'
[404] Fix | Delete
' **PEP 484** - Type hints\n'
[405] Fix | Delete
' The proposal that added the "typing" module to provide a '
[406] Fix | Delete
'standard\n'
[407] Fix | Delete
' syntax for type annotations that can be used in static '
[408] Fix | Delete
'analysis\n'
[409] Fix | Delete
' tools and IDEs.\n',
[410] Fix | Delete
'atom-identifiers': 'Identifiers (Names)\n'
[411] Fix | Delete
'*******************\n'
[412] Fix | Delete
'\n'
[413] Fix | Delete
'An identifier occurring as an atom is a name. See '
[414] Fix | Delete
'section Identifiers\n'
[415] Fix | Delete
'and keywords for lexical definition and section Naming '
[416] Fix | Delete
'and binding for\n'
[417] Fix | Delete
'documentation of naming and binding.\n'
[418] Fix | Delete
'\n'
[419] Fix | Delete
'When the name is bound to an object, evaluation of the '
[420] Fix | Delete
'atom yields\n'
[421] Fix | Delete
'that object. When a name is not bound, an attempt to '
[422] Fix | Delete
'evaluate it\n'
[423] Fix | Delete
'raises a "NameError" exception.\n'
[424] Fix | Delete
'\n'
[425] Fix | Delete
'**Private name mangling:** When an identifier that '
[426] Fix | Delete
'textually occurs in\n'
[427] Fix | Delete
'a class definition begins with two or more underscore '
[428] Fix | Delete
'characters and\n'
[429] Fix | Delete
'does not end in two or more underscores, it is '
[430] Fix | Delete
'considered a *private\n'
[431] Fix | Delete
'name* of that class. Private names are transformed to a '
[432] Fix | Delete
'longer form\n'
[433] Fix | Delete
'before code is generated for them. The transformation '
[434] Fix | Delete
'inserts the\n'
[435] Fix | Delete
'class name, with leading underscores removed and a '
[436] Fix | Delete
'single underscore\n'
[437] Fix | Delete
'inserted, in front of the name. For example, the '
[438] Fix | Delete
'identifier "__spam"\n'
[439] Fix | Delete
'occurring in a class named "Ham" will be transformed to '
[440] Fix | Delete
'"_Ham__spam".\n'
[441] Fix | Delete
'This transformation is independent of the syntactical '
[442] Fix | Delete
'context in which\n'
[443] Fix | Delete
'the identifier is used. If the transformed name is '
[444] Fix | Delete
'extremely long\n'
[445] Fix | Delete
'(longer than 255 characters), implementation defined '
[446] Fix | Delete
'truncation may\n'
[447] Fix | Delete
'happen. If the class name consists only of underscores, '
[448] Fix | Delete
'no\n'
[449] Fix | Delete
'transformation is done.\n',
[450] Fix | Delete
'atom-literals': 'Literals\n'
[451] Fix | Delete
'********\n'
[452] Fix | Delete
'\n'
[453] Fix | Delete
'Python supports string and bytes literals and various '
[454] Fix | Delete
'numeric\n'
[455] Fix | Delete
'literals:\n'
[456] Fix | Delete
'\n'
[457] Fix | Delete
' literal ::= stringliteral | bytesliteral\n'
[458] Fix | Delete
' | integer | floatnumber | imagnumber\n'
[459] Fix | Delete
'\n'
[460] Fix | Delete
'Evaluation of a literal yields an object of the given type '
[461] Fix | Delete
'(string,\n'
[462] Fix | Delete
'bytes, integer, floating point number, complex number) with '
[463] Fix | Delete
'the given\n'
[464] Fix | Delete
'value. The value may be approximated in the case of '
[465] Fix | Delete
'floating point\n'
[466] Fix | Delete
'and imaginary (complex) literals. See section Literals for '
[467] Fix | Delete
'details.\n'
[468] Fix | Delete
'\n'
[469] Fix | Delete
'All literals correspond to immutable data types, and hence '
[470] Fix | Delete
'the\n'
[471] Fix | Delete
'object’s identity is less important than its value. '
[472] Fix | Delete
'Multiple\n'
[473] Fix | Delete
'evaluations of literals with the same value (either the '
[474] Fix | Delete
'same\n'
[475] Fix | Delete
'occurrence in the program text or a different occurrence) '
[476] Fix | Delete
'may obtain\n'
[477] Fix | Delete
'the same object or a different object with the same '
[478] Fix | Delete
'value.\n',
[479] Fix | Delete
'attribute-access': 'Customizing attribute access\n'
[480] Fix | Delete
'****************************\n'
[481] Fix | Delete
'\n'
[482] Fix | Delete
'The following methods can be defined to customize the '
[483] Fix | Delete
'meaning of\n'
[484] Fix | Delete
'attribute access (use of, assignment to, or deletion of '
[485] Fix | Delete
'"x.name") for\n'
[486] Fix | Delete
'class instances.\n'
[487] Fix | Delete
'\n'
[488] Fix | Delete
'object.__getattr__(self, name)\n'
[489] Fix | Delete
'\n'
[490] Fix | Delete
' Called when the default attribute access fails with '
[491] Fix | Delete
'an\n'
[492] Fix | Delete
' "AttributeError" (either "__getattribute__()" raises '
[493] Fix | Delete
'an\n'
[494] Fix | Delete
' "AttributeError" because *name* is not an instance '
[495] Fix | Delete
'attribute or an\n'
[496] Fix | Delete
' attribute in the class tree for "self"; or '
[497] Fix | Delete
'"__get__()" of a *name*\n'
[498] Fix | Delete
' property raises "AttributeError"). This method '
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function