python.xml 60 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--
  3. @author Gregori Gerebtzoff
  4. @version 1.2
  5. -->
  6. <NotepadPlus>
  7. <AutoComplete>
  8. <Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," additionalWordChar = "." />
  9. <KeyWord name="ArithmeticError" func="yes">
  10. <Overload retVal="" descr="Base class for arithmetic errors.">
  11. </Overload>
  12. </KeyWord>
  13. <KeyWord name="AssertionError" func="yes">
  14. <Overload retVal="" descr="Assertion failed.">
  15. </Overload>
  16. </KeyWord>
  17. <KeyWord name="AttributeError" func="yes">
  18. <Overload retVal="" descr="Attribute not found.">
  19. </Overload>
  20. </KeyWord>
  21. <KeyWord name="BaseException" func="yes">
  22. <Overload retVal="" descr="Common base class for all exceptions">
  23. </Overload>
  24. </KeyWord>
  25. <KeyWord name="BufferError" func="yes">
  26. <Overload retVal="" descr="Buffer error.">
  27. </Overload>
  28. </KeyWord>
  29. <KeyWord name="BytesWarning" func="yes">
  30. <Overload retVal="" descr="Base class for warnings about bytes and buffer related problems, mostly&#x0a;related to conversion from str or comparing to str.">
  31. </Overload>
  32. </KeyWord>
  33. <KeyWord name="DeprecationWarning" func="yes">
  34. <Overload retVal="" descr="Base class for warnings about deprecated features.">
  35. </Overload>
  36. </KeyWord>
  37. <KeyWord name="EOFError" func="yes">
  38. <Overload retVal="" descr="Read beyond end of file.">
  39. </Overload>
  40. </KeyWord>
  41. <KeyWord name="EnvironmentError" func="yes">
  42. <Overload retVal="" descr="Base class for I/O related errors.">
  43. </Overload>
  44. </KeyWord>
  45. <KeyWord name="Exception" func="yes">
  46. <Overload retVal="" descr="Common base class for all non-exit exceptions.">
  47. </Overload>
  48. </KeyWord>
  49. <KeyWord name="False" />
  50. <KeyWord name="FloatingPointError" func="yes">
  51. <Overload retVal="" descr="Floating point operation failed.">
  52. </Overload>
  53. </KeyWord>
  54. <KeyWord name="FutureWarning" func="yes">
  55. <Overload retVal="" descr="Base class for warnings about constructs that will change semantically&#x0a;in the future.">
  56. </Overload>
  57. </KeyWord>
  58. <KeyWord name="GeneratorExit" func="yes">
  59. <Overload retVal="" descr="Request that a generator exit.">
  60. </Overload>
  61. </KeyWord>
  62. <KeyWord name="IOError" func="yes">
  63. <Overload retVal="" descr="I/O operation failed.">
  64. </Overload>
  65. </KeyWord>
  66. <KeyWord name="ImportError" func="yes">
  67. <Overload retVal="" descr="Import can't find module, or can't find name in module.">
  68. </Overload>
  69. </KeyWord>
  70. <KeyWord name="ImportWarning" func="yes">
  71. <Overload retVal="" descr="Base class for warnings about probable mistakes in module imports">
  72. </Overload>
  73. </KeyWord>
  74. <KeyWord name="IndentationError" func="yes">
  75. <Overload retVal="" descr="Improper indentation.">
  76. </Overload>
  77. </KeyWord>
  78. <KeyWord name="IndexError" func="yes">
  79. <Overload retVal="" descr="Sequence index out of range.">
  80. </Overload>
  81. </KeyWord>
  82. <KeyWord name="KeyError" func="yes">
  83. <Overload retVal="" descr="Mapping key not found.">
  84. </Overload>
  85. </KeyWord>
  86. <KeyWord name="KeyboardInterrupt" func="yes">
  87. <Overload retVal="" descr="Program interrupted by user.">
  88. </Overload>
  89. </KeyWord>
  90. <KeyWord name="LookupError" func="yes">
  91. <Overload retVal="" descr="Base class for lookup errors.">
  92. </Overload>
  93. </KeyWord>
  94. <KeyWord name="MemoryError" func="yes">
  95. <Overload retVal="" descr="Out of memory.">
  96. </Overload>
  97. </KeyWord>
  98. <KeyWord name="NameError" func="yes">
  99. <Overload retVal="" descr="Name not found globally.">
  100. </Overload>
  101. </KeyWord>
  102. <KeyWord name="None" />
  103. <KeyWord name="NotImplementedError" func="yes">
  104. <Overload retVal="" descr="Method or function hasn't been implemented yet.">
  105. </Overload>
  106. </KeyWord>
  107. <KeyWord name="OSError" func="yes">
  108. <Overload retVal="" descr="OS system call failed.">
  109. </Overload>
  110. </KeyWord>
  111. <KeyWord name="OverflowError" func="yes">
  112. <Overload retVal="" descr="Result too large to be represented.">
  113. </Overload>
  114. </KeyWord>
  115. <KeyWord name="PendingDeprecationWarning" func="yes">
  116. <Overload retVal="" descr="Base class for warnings about features which will be deprecated&#x0a;in the future.">
  117. </Overload>
  118. </KeyWord>
  119. <KeyWord name="ReferenceError" func="yes">
  120. <Overload retVal="" descr="Weak ref proxy used after referent went away.">
  121. </Overload>
  122. </KeyWord>
  123. <KeyWord name="RuntimeError" func="yes">
  124. <Overload retVal="" descr="Unspecified run-time error.">
  125. </Overload>
  126. </KeyWord>
  127. <KeyWord name="RuntimeWarning" func="yes">
  128. <Overload retVal="" descr="Base class for warnings about dubious runtime behavior.">
  129. </Overload>
  130. </KeyWord>
  131. <KeyWord name="StandardError" func="yes">
  132. <Overload retVal="" descr="Base class for all standard Python exceptions that do not represent&#x0a;interpreter exiting.">
  133. </Overload>
  134. </KeyWord>
  135. <KeyWord name="StopIteration" func="yes">
  136. <Overload retVal="" descr="Signal the end from iterator.next().">
  137. </Overload>
  138. </KeyWord>
  139. <KeyWord name="SyntaxError" func="yes">
  140. <Overload retVal="" descr="Invalid syntax.">
  141. </Overload>
  142. </KeyWord>
  143. <KeyWord name="SyntaxWarning" func="yes">
  144. <Overload retVal="" descr="Base class for warnings about dubious syntax.">
  145. </Overload>
  146. </KeyWord>
  147. <KeyWord name="SystemError" func="yes">
  148. <Overload retVal="" descr="Internal error in the Python interpreter.&#x0a;&#x0a;Please report this to the Python maintainer, along with the traceback,&#x0a;the Python version, and the hardware/OS platform and version.">
  149. </Overload>
  150. </KeyWord>
  151. <KeyWord name="SystemExit" func="yes">
  152. <Overload retVal="" descr="Request to exit from the interpreter.">
  153. </Overload>
  154. </KeyWord>
  155. <KeyWord name="TabError" func="yes">
  156. <Overload retVal="" descr="Improper mixture of spaces and tabs.">
  157. </Overload>
  158. </KeyWord>
  159. <KeyWord name="True" />
  160. <KeyWord name="TypeError" func="yes">
  161. <Overload retVal="" descr="Inappropriate argument type.">
  162. </Overload>
  163. </KeyWord>
  164. <KeyWord name="UnboundLocalError" func="yes">
  165. <Overload retVal="" descr="Local name referenced but not bound to a value.">
  166. </Overload>
  167. </KeyWord>
  168. <KeyWord name="UnicodeDecodeError" func="yes">
  169. <Overload retVal="" descr="Unicode decoding error.">
  170. </Overload>
  171. </KeyWord>
  172. <KeyWord name="UnicodeEncodeError" func="yes">
  173. <Overload retVal="" descr="Unicode encoding error.">
  174. </Overload>
  175. </KeyWord>
  176. <KeyWord name="UnicodeError" func="yes">
  177. <Overload retVal="" descr="Unicode related error.">
  178. </Overload>
  179. </KeyWord>
  180. <KeyWord name="UnicodeTranslateError" func="yes">
  181. <Overload retVal="" descr="Unicode translation error.">
  182. </Overload>
  183. </KeyWord>
  184. <KeyWord name="UnicodeWarning" func="yes">
  185. <Overload retVal="" descr="Base class for warnings about Unicode related problems, mostly&#x0a;related to conversion problems.">
  186. </Overload>
  187. </KeyWord>
  188. <KeyWord name="UserWarning" func="yes">
  189. <Overload retVal="" descr="Base class for warnings generated by user code.">
  190. </Overload>
  191. </KeyWord>
  192. <KeyWord name="ValueError" func="yes">
  193. <Overload retVal="" descr="Inappropriate argument value (of correct type).">
  194. </Overload>
  195. </KeyWord>
  196. <KeyWord name="Warning" func="yes">
  197. <Overload retVal="" descr="Base class for warning categories.">
  198. </Overload>
  199. </KeyWord>
  200. <KeyWord name="ZeroDivisionError" func="yes">
  201. <Overload retVal="" descr="Second argument to a division or modulo operation was zero.">
  202. </Overload>
  203. </KeyWord>
  204. <KeyWord name="abs" func="yes">
  205. <Overload retVal="" descr="abs(number) -&gt; number&#x0a;&#x0a;Return the absolute value of the argument.">
  206. </Overload>
  207. </KeyWord>
  208. <KeyWord name="add" func="yes">
  209. <Overload retVal="" descr="Add an element to a set.&#x0a;&#x0a;This has no effect if the element is already present.">
  210. </Overload>
  211. </KeyWord>
  212. <KeyWord name="all" func="yes">
  213. <Overload retVal="" descr="all(iterable) -&gt; bool&#x0a;&#x0a;Return True if bool(x) is True for all values x in the iterable.">
  214. </Overload>
  215. </KeyWord>
  216. <KeyWord name="and" />
  217. <KeyWord name="any" func="yes">
  218. <Overload retVal="" descr="any(iterable) -&gt; bool&#x0a;&#x0a;Return True if bool(x) is True for any x in the iterable.">
  219. </Overload>
  220. </KeyWord>
  221. <KeyWord name="append" func="yes">
  222. <Overload retVal="" descr="B.append(int) -&gt; None&#x0a;&#x0a;Append a single item to the end of B.">
  223. </Overload>
  224. </KeyWord>
  225. <KeyWord name="apply" func="yes">
  226. <Overload retVal="" descr="apply(object[, args[, kwargs]]) -&gt; value&#x0a;&#x0a;Call a callable object with positional arguments taken from the tuple args,&#x0a;and keyword arguments taken from the optional dictionary kwargs.&#x0a;Note that classes are callable, as are instances with a __call__() method.&#x0a;&#x0a;Deprecated since release 2.3. Instead, use the extended call syntax:&#x0a; function(*args, **keywords).">
  227. </Overload>
  228. </KeyWord>
  229. <KeyWord name="as" />
  230. <KeyWord name="as_integer_ratio" func="yes">
  231. <Overload retVal="" descr="float.as_integer_ratio() -&gt; (int, int)&#x0a;&#x0a;Returns a pair of integers, whose ratio is exactly equal to the original&#x0a;float and with a positive denominator.&#x0a;Raises OverflowError on infinities and a ValueError on NaNs.&#x0a;&#x0a;&gt;&gt;&gt; (10.0).as_integer_ratio()&#x0a;(10, 1)&#x0a;&gt;&gt;&gt; (0.0).as_integer_ratio()&#x0a;(0, 1)&#x0a;&gt;&gt;&gt; (-.25).as_integer_ratio()&#x0a;(-1, 4)">
  232. </Overload>
  233. </KeyWord>
  234. <KeyWord name="assert" />
  235. <KeyWord name="basestring" func="yes">
  236. <Overload retVal="" descr="Type basestring cannot be instantiated; it is the base for str and unicode.">
  237. </Overload>
  238. </KeyWord>
  239. <KeyWord name="bin" func="yes">
  240. <Overload retVal="" descr="bin(number) -&gt; string&#x0a;&#x0a;Return the binary representation of an integer or long integer.">
  241. </Overload>
  242. </KeyWord>
  243. <KeyWord name="bit_length" func="yes">
  244. <Overload retVal="" descr="long.bit_length() -&gt; int or long&#x0a;&#x0a;Number of bits necessary to represent self in binary.&#x0a;&gt;&gt;&gt; bin(37L)&#x0a;'0b100101'&#x0a;&gt;&gt;&gt; (37L).bit_length()&#x0a;6">
  245. </Overload>
  246. </KeyWord>
  247. <KeyWord name="bool" func="yes">
  248. <Overload retVal="" descr="bool(x) -&gt; bool&#x0a;&#x0a;Returns True when the argument x is true, False otherwise.&#x0a;The builtins True and False are the only two instances of the class bool.&#x0a;The class bool is a subclass of the class int, and cannot be subclassed.">
  249. </Overload>
  250. </KeyWord>
  251. <KeyWord name="break" />
  252. <KeyWord name="buffer" func="yes">
  253. <Overload retVal="" descr="buffer(object [, offset[, size]])&#x0a;&#x0a;Create a new buffer object which references the given object.&#x0a;The buffer will reference a slice of the target object from the&#x0a;start of the object (or at the specified offset). The slice will&#x0a;extend to the end of the target object (or with the specified size).">
  254. </Overload>
  255. </KeyWord>
  256. <KeyWord name="bytearray" func="yes">
  257. <Overload retVal="" descr="bytearray(iterable_of_ints) -&gt; bytearray.&#x0a;bytearray(string, encoding[, errors]) -&gt; bytearray.&#x0a;bytearray(bytes_or_bytearray) -&gt; mutable copy of bytes_or_bytearray.&#x0a;bytearray(memory_view) -&gt; bytearray.&#x0a;&#x0a;Construct an mutable bytearray object from:&#x0a; - an iterable yielding integers in range(256)&#x0a; - a text string encoded using the specified encoding&#x0a; - a bytes or a bytearray object&#x0a; - any object implementing the buffer API.&#x0a;&#x0a;bytearray(int) -&gt; bytearray.&#x0a;&#x0a;Construct a zero-initialized bytearray of the given length.">
  258. </Overload>
  259. </KeyWord>
  260. <KeyWord name="bytes" func="yes">
  261. <Overload retVal="" descr="str(object) -&gt; string&#x0a;&#x0a;Return a nice string representation of the object.&#x0a;If the argument is a string, the return value is the same object.">
  262. </Overload>
  263. </KeyWord>
  264. <KeyWord name="callable" func="yes">
  265. <Overload retVal="" descr="callable(object) -&gt; bool&#x0a;&#x0a;Return whether the object is callable (i.e., some kind of function).&#x0a;Note that classes are callable, as are instances with a __call__() method.">
  266. </Overload>
  267. </KeyWord>
  268. <KeyWord name="capitalize" func="yes">
  269. <Overload retVal="" descr="S.capitalize() -&gt; string&#x0a;&#x0a;Return a copy of the string S with only its first character&#x0a;capitalized.">
  270. </Overload>
  271. </KeyWord>
  272. <KeyWord name="center" func="yes">
  273. <Overload retVal="" descr="B.center(width[, fillchar]) -&gt; copy of B&#x0a;&#x0a;Return B centered in a string of length width. Padding is&#x0a;done using the specified fill character (default is a space).">
  274. </Overload>
  275. </KeyWord>
  276. <KeyWord name="chr" func="yes">
  277. <Overload retVal="" descr="chr(i) -&gt; character&#x0a;&#x0a;Return a string of one character with ordinal i; 0 &lt;= i &lt; 256.">
  278. </Overload>
  279. </KeyWord>
  280. <KeyWord name="class" />
  281. <KeyWord name="classmethod" func="yes">
  282. <Overload retVal="" descr="classmethod(function) -&gt; method&#x0a;&#x0a;Convert a function to be a class method.&#x0a;&#x0a;A class method receives the class as implicit first argument,&#x0a;just like an instance method receives the instance.&#x0a;To declare a class method, use this idiom:&#x0a;&#x0a; class C:&#x0a; def f(cls, arg1, arg2, ...): ...&#x0a; f = classmethod(f)&#x0a;&#x0a;It can be called either on the class (e.g. C.f()) or on an instance&#x0a;(e.g. C().f()). The instance is ignored except for its class.&#x0a;If a class method is called for a derived class, the derived class&#x0a;object is passed as the implied first argument.&#x0a;&#x0a;Class methods are different than C++ or Java static methods.&#x0a;If you want those, see the staticmethod builtin.">
  283. </Overload>
  284. </KeyWord>
  285. <KeyWord name="clear" func="yes">
  286. <Overload retVal="" descr="Remove all elements from this set.">
  287. </Overload>
  288. </KeyWord>
  289. <KeyWord name="close" func="yes">
  290. <Overload retVal="" descr="close() -&gt; None or (perhaps) an integer. Close the file.&#x0a;&#x0a;Sets data attribute .closed to True. A closed file cannot be used for&#x0a;further I/O operations. close() may be called more than once without&#x0a;error. Some kinds of file objects (for example, opened by popen())&#x0a;may return an exit status upon closing.">
  291. </Overload>
  292. </KeyWord>
  293. <KeyWord name="cmp" func="yes">
  294. <Overload retVal="" descr="cmp(x, y) -&gt; integer&#x0a;&#x0a;Return negative if x&lt;y, zero if x==y, positive if x&gt;y.">
  295. </Overload>
  296. </KeyWord>
  297. <KeyWord name="coerce" func="yes">
  298. <Overload retVal="" descr="coerce(x, y) -&gt; (x1, y1)&#x0a;&#x0a;Return a tuple consisting of the two numeric arguments converted to&#x0a;a common type, using the same rules as used by arithmetic operations.&#x0a;If coercion is not possible, raise TypeError.">
  299. </Overload>
  300. </KeyWord>
  301. <KeyWord name="compile" func="yes">
  302. <Overload retVal="" descr="compile(source, filename, mode[, flags[, dont_inherit]]) -&gt; code object&#x0a;&#x0a;Compile the source string (a Python module, statement or expression)&#x0a;into a code object that can be executed by the exec statement or eval().&#x0a;The filename will be used for run-time error messages.&#x0a;The mode must be 'exec' to compile a module, 'single' to compile a&#x0a;single (interactive) statement, or 'eval' to compile an expression.&#x0a;The flags argument, if present, controls which future statements influence&#x0a;the compilation of the code.&#x0a;The dont_inherit argument, if non-zero, stops the compilation inheriting&#x0a;the effects of any future statements in effect in the code calling&#x0a;compile; if absent or zero these statements do influence the compilation,&#x0a;in addition to any features explicitly specified.">
  303. </Overload>
  304. </KeyWord>
  305. <KeyWord name="complex" func="yes">
  306. <Overload retVal="" descr="complex(real[, imag]) -&gt; complex number&#x0a;&#x0a;Create a complex number from a real part and an optional imaginary part.&#x0a;This is equivalent to (real + imag*1j) where imag defaults to 0.">
  307. </Overload>
  308. </KeyWord>
  309. <KeyWord name="conjugate" func="yes">
  310. <Overload retVal="" descr="Returns self, the complex conjugate of any int.">
  311. </Overload>
  312. </KeyWord>
  313. <KeyWord name="continue" />
  314. <KeyWord name="copy" func="yes">
  315. <Overload retVal="" descr="D.copy() -&gt; a shallow copy of D">
  316. </Overload>
  317. </KeyWord>
  318. <KeyWord name="count" func="yes">
  319. <Overload retVal="" descr="L.count(value) -&gt; integer -- return number of occurrences of value">
  320. </Overload>
  321. </KeyWord>
  322. <KeyWord name="decode" func="yes">
  323. <Overload retVal="" descr="S.decode([encoding[,errors]]) -&gt; object&#x0a;&#x0a;Decodes S using the codec registered for encoding. encoding defaults&#x0a;to the default encoding. errors may be given to set a different error&#x0a;handling scheme. Default is 'strict' meaning that encoding errors raise&#x0a;a UnicodeDecodeError. Other possible values are 'ignore' and 'replace'&#x0a;as well as any other name registered with codecs.register_error that is&#x0a;able to handle UnicodeDecodeErrors.">
  324. </Overload>
  325. </KeyWord>
  326. <KeyWord name="def" />
  327. <KeyWord name="del" />
  328. <KeyWord name="delattr" func="yes">
  329. <Overload retVal="" descr="delattr(object, name)&#x0a;&#x0a;Delete a named attribute on an object; delattr(x, 'y') is equivalent to&#x0a;``del x.y''.">
  330. </Overload>
  331. </KeyWord>
  332. <KeyWord name="deleter" func="yes">
  333. <Overload retVal="" descr="Descriptor to change the deleter on a property.">
  334. </Overload>
  335. </KeyWord>
  336. <KeyWord name="dict" func="yes">
  337. <Overload retVal="" descr="dict() -&gt; new empty dictionary&#x0a;dict(mapping) -&gt; new dictionary initialized from a mapping object's&#x0a; (key, value) pairs&#x0a;dict(iterable) -&gt; new dictionary initialized as if via:&#x0a; d = {}&#x0a; for k, v in iterable:&#x0a; d[k] = v&#x0a;dict(**kwargs) -&gt; new dictionary initialized with the name=value pairs&#x0a; in the keyword argument list. For example: dict(one=1, two=2)">
  338. </Overload>
  339. </KeyWord>
  340. <KeyWord name="difference" func="yes">
  341. <Overload retVal="" descr="Return the difference of two or more sets as a new set.&#x0a;&#x0a;(i.e. all elements that are in this set but not the others.)">
  342. </Overload>
  343. </KeyWord>
  344. <KeyWord name="difference_update" func="yes">
  345. <Overload retVal="" descr="Remove all elements of another set from this set.">
  346. </Overload>
  347. </KeyWord>
  348. <KeyWord name="dir" func="yes">
  349. <Overload retVal="" descr="dir([object]) -&gt; list of strings&#x0a;&#x0a;If called without an argument, return the names in the current scope.&#x0a;Else, return an alphabetized list of names comprising (some of) the attributes&#x0a;of the given object, and of attributes reachable from it.&#x0a;If the object supplies a method named __dir__, it will be used; otherwise&#x0a;the default dir() logic is used and returns:&#x0a; for a module object: the module's attributes.&#x0a; for a class object: its attributes, and recursively the attributes&#x0a; of its bases.&#x0a; for any other object: its attributes, its class's attributes, and&#x0a; recursively the attributes of its class's base classes.">
  350. </Overload>
  351. </KeyWord>
  352. <KeyWord name="discard" func="yes">
  353. <Overload retVal="" descr="Remove an element from a set if it is a member.&#x0a;&#x0a;If the element is not a member, do nothing.">
  354. </Overload>
  355. </KeyWord>
  356. <KeyWord name="divmod" func="yes">
  357. <Overload retVal="" descr="divmod(x, y) -&gt; (div, mod)&#x0a;&#x0a;Return the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x.">
  358. </Overload>
  359. </KeyWord>
  360. <KeyWord name="elif" />
  361. <KeyWord name="else" />
  362. <KeyWord name="encode" func="yes">
  363. <Overload retVal="" descr="S.encode([encoding[,errors]]) -&gt; string or unicode&#x0a;&#x0a;Encodes S using the codec registered for encoding. encoding defaults&#x0a;to the default encoding. errors may be given to set a different error&#x0a;handling scheme. Default is 'strict' meaning that encoding errors raise&#x0a;a UnicodeEncodeError. Other possible values are 'ignore', 'replace' and&#x0a;'xmlcharrefreplace' as well as any other name registered with&#x0a;codecs.register_error that can handle UnicodeEncodeErrors.">
  364. </Overload>
  365. </KeyWord>
  366. <KeyWord name="endswith" func="yes">
  367. <Overload retVal="" descr="B.endswith(suffix [,start [,end]]) -&gt; bool&#x0a;&#x0a;Return True if B ends with the specified suffix, False otherwise.&#x0a;With optional start, test B beginning at that position.&#x0a;With optional end, stop comparing B at that position.&#x0a;suffix can also be a tuple of strings to try.">
  368. </Overload>
  369. </KeyWord>
  370. <KeyWord name="enumerate" func="yes">
  371. <Overload retVal="" descr="enumerate(iterable[, start]) -&gt; iterator for index, value of iterable&#x0a;&#x0a;Return an enumerate object. iterable must be another object that supports&#x0a;iteration. The enumerate object yields pairs containing a count (from&#x0a;start, which defaults to zero) and a value yielded by the iterable argument.&#x0a;enumerate is useful for obtaining an indexed list:&#x0a; (0, seq[0]), (1, seq[1]), (2, seq[2]), ...">
  372. </Overload>
  373. </KeyWord>
  374. <KeyWord name="eval" func="yes">
  375. <Overload retVal="" descr="eval(source[, globals[, locals]]) -&gt; value&#x0a;&#x0a;Evaluate the source in the context of globals and locals.&#x0a;The source may be a string representing a Python expression&#x0a;or a code object as returned by compile().&#x0a;The globals must be a dictionary and locals can be any mapping,&#x0a;defaulting to the current globals and locals.&#x0a;If only globals is given, locals defaults to it.">
  376. </Overload>
  377. </KeyWord>
  378. <KeyWord name="except" />
  379. <KeyWord name="exec" />
  380. <KeyWord name="execfile" func="yes">
  381. <Overload retVal="" descr="execfile(filename[, globals[, locals]])&#x0a;&#x0a;Read and execute a Python script from a file.&#x0a;The globals and locals are dictionaries, defaulting to the current&#x0a;globals and locals. If only globals is given, locals defaults to it.">
  382. </Overload>
  383. </KeyWord>
  384. <KeyWord name="expandtabs" func="yes">
  385. <Overload retVal="" descr="B.expandtabs([tabsize]) -&gt; copy of B&#x0a;&#x0a;Return a copy of B where all tab characters are expanded using spaces.&#x0a;If tabsize is not given, a tab size of 8 characters is assumed.">
  386. </Overload>
  387. </KeyWord>
  388. <KeyWord name="extend" func="yes">
  389. <Overload retVal="" descr="B.extend(iterable int) -&gt; None&#x0a;&#x0a;Append all the elements from the iterator or sequence to the&#x0a;end of B.">
  390. </Overload>
  391. </KeyWord>
  392. <KeyWord name="file" func="yes">
  393. <Overload retVal="" descr="file(name[, mode[, buffering]]) -&gt; file object&#x0a;&#x0a;Open a file. The mode can be 'r', 'w' or 'a' for reading (default),&#x0a;writing or appending. The file will be created if it doesn't exist&#x0a;when opened for writing or appending; it will be truncated when&#x0a;opened for writing. Add a 'b' to the mode for binary files.&#x0a;Add a '+' to the mode to allow simultaneous reading and writing.&#x0a;If the buffering argument is given, 0 means unbuffered, 1 means line&#x0a;buffered, and larger numbers specify the buffer size. The preferred way&#x0a;to open a file is with the builtin open() function.&#x0a;Add a 'U' to mode to open the file for input with universal newline&#x0a;support. Any line ending in the input file will be seen as a '\n'&#x0a;in Python. Also, a file so opened gains the attribute 'newlines';&#x0a;the value for this attribute is one of None (no newline read yet),&#x0a;'\r', '\n', '\r\n' or a tuple containing all the newline types seen.&#x0a;&#x0a;'U' cannot be combined with 'w' or '+' mode.">
  394. </Overload>
  395. </KeyWord>
  396. <KeyWord name="fileno" func="yes">
  397. <Overload retVal="" descr='fileno() -&gt; integer "file descriptor".&#x0a;&#x0a;This is needed for lower-level file interfaces, such os.read().'>
  398. </Overload>
  399. </KeyWord>
  400. <KeyWord name="filter" func="yes">
  401. <Overload retVal="" descr="filter(function or None, sequence) -&gt; list, tuple, or string&#x0a;&#x0a;Return those items of sequence for which function(item) is true. If&#x0a;function is None, return the items that are true. If sequence is a tuple&#x0a;or string, return the same type, else return a list.">
  402. </Overload>
  403. </KeyWord>
  404. <KeyWord name="finally" />
  405. <KeyWord name="find" func="yes">
  406. <Overload retVal="" descr="S.find(sub [,start [,end]]) -&gt; int&#x0a;&#x0a;Return the lowest index in S where substring sub is found,&#x0a;such that sub is contained within s[start:end]. Optional&#x0a;arguments start and end are interpreted as in slice notation.&#x0a;&#x0a;Return -1 on failure.">
  407. </Overload>
  408. </KeyWord>
  409. <KeyWord name="float" func="yes">
  410. <Overload retVal="" descr="float(x) -&gt; floating point number&#x0a;&#x0a;Convert a string or number to a floating point number, if possible.">
  411. </Overload>
  412. </KeyWord>
  413. <KeyWord name="flush" func="yes">
  414. <Overload retVal="" descr="flush() -&gt; None. Flush the internal I/O buffer.">
  415. </Overload>
  416. </KeyWord>
  417. <KeyWord name="for" />
  418. <KeyWord name="format" func="yes">
  419. <Overload retVal="" descr="S.format(*args, **kwargs) -&gt; unicode">
  420. </Overload>
  421. </KeyWord>
  422. <KeyWord name="from" />
  423. <KeyWord name="fromhex" func="yes">
  424. <Overload retVal="" descr="float.fromhex(string) -&gt; float&#x0a;&#x0a;Create a floating-point number from a hexadecimal string.&#x0a;&gt;&gt;&gt; float.fromhex('0x1.ffffp10')&#x0a;2047.984375&#x0a;&gt;&gt;&gt; float.fromhex('-0x1p-1074')&#x0a;-4.9406564584124654e-324">
  425. </Overload>
  426. </KeyWord>
  427. <KeyWord name="fromkeys" func="yes">
  428. <Overload retVal="" descr="dict.fromkeys(S[,v]) -&gt; New dict with keys from S and values equal to v.&#x0a;v defaults to None.">
  429. </Overload>
  430. </KeyWord>
  431. <KeyWord name="frozenset" func="yes">
  432. <Overload retVal="" descr="frozenset() -&gt; empty frozenset object&#x0a;frozenset(iterable) -&gt; frozenset object&#x0a;&#x0a;Build an immutable unordered collection of unique elements.">
  433. </Overload>
  434. </KeyWord>
  435. <KeyWord name="get" func="yes">
  436. <Overload retVal="" descr="D.get(k[,d]) -&gt; D[k] if k in D, else d. d defaults to None.">
  437. </Overload>
  438. </KeyWord>
  439. <KeyWord name="getattr" func="yes">
  440. <Overload retVal="" descr="getattr(object, name[, default]) -&gt; value&#x0a;&#x0a;Get a named attribute from an object; getattr(x, 'y') is equivalent to x.y.&#x0a;When a default argument is given, it is returned when the attribute doesn't&#x0a;exist; without it, an exception is raised in that case.">
  441. </Overload>
  442. </KeyWord>
  443. <KeyWord name="getter" func="yes">
  444. <Overload retVal="" descr="Descriptor to change the getter on a property.">
  445. </Overload>
  446. </KeyWord>
  447. <KeyWord name="global" />
  448. <KeyWord name="globals" func="yes">
  449. <Overload retVal="" descr="globals() -&gt; dictionary&#x0a;&#x0a;Return the dictionary containing the current scope's global variables.">
  450. </Overload>
  451. </KeyWord>
  452. <KeyWord name="has_key" func="yes">
  453. <Overload retVal="" descr="D.has_key(k) -&gt; True if D has a key k, else False">
  454. </Overload>
  455. </KeyWord>
  456. <KeyWord name="hasattr" func="yes">
  457. <Overload retVal="" descr="hasattr(object, name) -&gt; bool&#x0a;&#x0a;Return whether the object has an attribute with the given name.&#x0a;(This is done by calling getattr(object, name) and catching exceptions.)">
  458. </Overload>
  459. </KeyWord>
  460. <KeyWord name="hash" func="yes">
  461. <Overload retVal="" descr="hash(object) -&gt; integer&#x0a;&#x0a;Return a hash value for the object. Two objects with the same value have&#x0a;the same hash value. The reverse is not necessarily true, but likely.">
  462. </Overload>
  463. </KeyWord>
  464. <KeyWord name="hex" func="yes">
  465. <Overload retVal="" descr="float.hex() -&gt; string&#x0a;&#x0a;Return a hexadecimal representation of a floating-point number.&#x0a;&gt;&gt;&gt; (-0.1).hex()&#x0a;'-0x1.999999999999ap-4'&#x0a;&gt;&gt;&gt; 3.14159.hex()&#x0a;'0x1.921f9f01b866ep+1'">
  466. </Overload>
  467. </KeyWord>
  468. <KeyWord name="id" func="yes">
  469. <Overload retVal="" descr="id(object) -&gt; integer&#x0a;&#x0a;Return the identity of an object. This is guaranteed to be unique among&#x0a;simultaneously existing objects. (Hint: it's the object's memory address.)">
  470. </Overload>
  471. </KeyWord>
  472. <KeyWord name="if" />
  473. <KeyWord name="import" />
  474. <KeyWord name="in" />
  475. <KeyWord name="index" func="yes">
  476. <Overload retVal="" descr="S.index(sub [,start [,end]]) -&gt; int&#x0a;&#x0a;Like S.find() but raise ValueError when the substring is not found.">
  477. </Overload>
  478. </KeyWord>
  479. <KeyWord name="indices" func="yes">
  480. <Overload retVal="" descr="S.indices(len) -&gt; (start, stop, stride)&#x0a;&#x0a;Assuming a sequence of length len, calculate the start and stop&#x0a;indices, and the stride length of the extended slice described by&#x0a;S. Out of bounds indices are clipped in a manner consistent with the&#x0a;handling of normal slices.">
  481. </Overload>
  482. </KeyWord>
  483. <KeyWord name="input" func="yes">
  484. <Overload retVal="" descr="input([prompt]) -&gt; value&#x0a;&#x0a;Equivalent to eval(raw_input(prompt)).">
  485. </Overload>
  486. </KeyWord>
  487. <KeyWord name="insert" func="yes">
  488. <Overload retVal="" descr="B.insert(index, int) -&gt; None&#x0a;&#x0a;Insert a single item into the bytearray before the given index.">
  489. </Overload>
  490. </KeyWord>
  491. <KeyWord name="int" func="yes">
  492. <Overload retVal="" descr="int(x[, base]) -&gt; integer&#x0a;&#x0a;Convert a string or number to an integer, if possible. A floating point&#x0a;argument will be truncated towards zero (this does not include a string&#x0a;representation of a floating point number!) When converting a string, use&#x0a;the optional base. It is an error to supply a base when converting a&#x0a;non-string. If base is zero, the proper base is guessed based on the&#x0a;string content. If the argument is outside the integer range a&#x0a;long object will be returned instead.">
  493. </Overload>
  494. </KeyWord>
  495. <KeyWord name="intern" func="yes">
  496. <Overload retVal="" descr="intern(string) -&gt; string&#x0a;&#x0a;``Intern'' the given string. This enters the string in the (global)&#x0a;table of interned strings whose purpose is to speed up dictionary lookups.&#x0a;Return the string itself or the previously interned string object with the&#x0a;same value.">
  497. </Overload>
  498. </KeyWord>
  499. <KeyWord name="intersection" func="yes">
  500. <Overload retVal="" descr="Return the intersection of two or more sets as a new set.&#x0a;&#x0a;(i.e. elements that are common to all of the sets.)">
  501. </Overload>
  502. </KeyWord>
  503. <KeyWord name="intersection_update" func="yes">
  504. <Overload retVal="" descr="Update a set with the intersection of itself and another.">
  505. </Overload>
  506. </KeyWord>
  507. <KeyWord name="is" />
  508. <KeyWord name="is_integer" func="yes">
  509. <Overload retVal="" descr="Returns True if the float is an integer.">
  510. </Overload>
  511. </KeyWord>
  512. <KeyWord name="isalnum" func="yes">
  513. <Overload retVal="" descr="S.isalnum() -&gt; bool&#x0a;&#x0a;Return True if all characters in S are alphanumeric&#x0a;and there is at least one character in S, False otherwise.">
  514. </Overload>
  515. </KeyWord>
  516. <KeyWord name="isalpha" func="yes">
  517. <Overload retVal="" descr="S.isalpha() -&gt; bool&#x0a;&#x0a;Return True if all characters in S are alphabetic&#x0a;and there is at least one character in S, False otherwise.">
  518. </Overload>
  519. </KeyWord>
  520. <KeyWord name="isatty" func="yes">
  521. <Overload retVal="" descr="isatty() -&gt; true or false. True if the file is connected to a tty device.">
  522. </Overload>
  523. </KeyWord>
  524. <KeyWord name="isdecimal" func="yes">
  525. <Overload retVal="" descr="S.isdecimal() -&gt; bool&#x0a;&#x0a;Return True if there are only decimal characters in S,&#x0a;False otherwise.">
  526. </Overload>
  527. </KeyWord>
  528. <KeyWord name="isdigit" func="yes">
  529. <Overload retVal="" descr="S.isdigit() -&gt; bool&#x0a;&#x0a;Return True if all characters in S are digits&#x0a;and there is at least one character in S, False otherwise.">
  530. </Overload>
  531. </KeyWord>
  532. <KeyWord name="isdisjoint" func="yes">
  533. <Overload retVal="" descr="Return True if two sets have a null intersection.">
  534. </Overload>
  535. </KeyWord>
  536. <KeyWord name="isinstance" func="yes">
  537. <Overload retVal="" descr="isinstance(object, class-or-type-or-tuple) -&gt; bool&#x0a;&#x0a;Return whether an object is an instance of a class or of a subclass thereof.&#x0a;With a type as second argument, return whether that is the object's type.&#x0a;The form using a tuple, isinstance(x, (A, B, ...)), is a shortcut for&#x0a;isinstance(x, A) or isinstance(x, B) or ... (etc.).">
  538. </Overload>
  539. </KeyWord>
  540. <KeyWord name="islower" func="yes">
  541. <Overload retVal="" descr="S.islower() -&gt; bool&#x0a;&#x0a;Return True if all cased characters in S are lowercase and there is&#x0a;at least one cased character in S, False otherwise.">
  542. </Overload>
  543. </KeyWord>
  544. <KeyWord name="isnumeric" func="yes">
  545. <Overload retVal="" descr="S.isnumeric() -&gt; bool&#x0a;&#x0a;Return True if there are only numeric characters in S,&#x0a;False otherwise.">
  546. </Overload>
  547. </KeyWord>
  548. <KeyWord name="isspace" func="yes">
  549. <Overload retVal="" descr="S.isspace() -&gt; bool&#x0a;&#x0a;Return True if all characters in S are whitespace&#x0a;and there is at least one character in S, False otherwise.">
  550. </Overload>
  551. </KeyWord>
  552. <KeyWord name="issubclass" func="yes">
  553. <Overload retVal="" descr="issubclass(C, B) -&gt; bool&#x0a;&#x0a;Return whether class C is a subclass (i.e., a derived class) of class B.&#x0a;When using a tuple as the second argument issubclass(X, (A, B, ...)),&#x0a;is a shortcut for issubclass(X, A) or issubclass(X, B) or ... (etc.).">
  554. </Overload>
  555. </KeyWord>
  556. <KeyWord name="issubset" func="yes">
  557. <Overload retVal="" descr="Report whether another set contains this set.">
  558. </Overload>
  559. </KeyWord>
  560. <KeyWord name="issuperset" func="yes">
  561. <Overload retVal="" descr="Report whether this set contains another set.">
  562. </Overload>
  563. </KeyWord>
  564. <KeyWord name="istitle" func="yes">
  565. <Overload retVal="" descr="S.istitle() -&gt; bool&#x0a;&#x0a;Return True if S is a titlecased string and there is at least one&#x0a;character in S, i.e. uppercase characters may only follow uncased&#x0a;characters and lowercase characters only cased ones. Return False&#x0a;otherwise.">
  566. </Overload>
  567. </KeyWord>
  568. <KeyWord name="isupper" func="yes">
  569. <Overload retVal="" descr="S.isupper() -&gt; bool&#x0a;&#x0a;Return True if all cased characters in S are uppercase and there is&#x0a;at least one cased character in S, False otherwise.">
  570. </Overload>
  571. </KeyWord>
  572. <KeyWord name="items" func="yes">
  573. <Overload retVal="" descr="D.items() -&gt; list of D's (key, value) pairs, as 2-tuples">
  574. </Overload>
  575. </KeyWord>
  576. <KeyWord name="iter" func="yes">
  577. <Overload retVal="" descr="iter(collection) -&gt; iterator&#x0a;iter(callable, sentinel) -&gt; iterator&#x0a;&#x0a;Get an iterator from an object. In the first form, the argument must&#x0a;supply its own iterator, or be a sequence.&#x0a;In the second form, the callable is called until it returns the sentinel.">
  578. </Overload>
  579. </KeyWord>
  580. <KeyWord name="iteritems" func="yes">
  581. <Overload retVal="" descr="D.iteritems() -&gt; an iterator over the (key, value) items of D">
  582. </Overload>
  583. </KeyWord>
  584. <KeyWord name="iterkeys" func="yes">
  585. <Overload retVal="" descr="D.iterkeys() -&gt; an iterator over the keys of D">
  586. </Overload>
  587. </KeyWord>
  588. <KeyWord name="itervalues" func="yes">
  589. <Overload retVal="" descr="D.itervalues() -&gt; an iterator over the values of D">
  590. </Overload>
  591. </KeyWord>
  592. <KeyWord name="join" func="yes">
  593. <Overload retVal="" descr="S.join(iterable) -&gt; unicode&#x0a;&#x0a;Return a string which is the concatenation of the strings in the&#x0a;iterable. The separator between elements is S.">
  594. </Overload>
  595. </KeyWord>
  596. <KeyWord name="keys" func="yes">
  597. <Overload retVal="" descr="D.keys() -&gt; list of D's keys">
  598. </Overload>
  599. </KeyWord>
  600. <KeyWord name="lambda" />
  601. <KeyWord name="len" func="yes">
  602. <Overload retVal="" descr="len(object) -&gt; integer&#x0a;&#x0a;Return the number of items of a sequence or mapping.">
  603. </Overload>
  604. </KeyWord>
  605. <KeyWord name="list" func="yes">
  606. <Overload retVal="" descr="list() -&gt; new empty list&#x0a;list(iterable) -&gt; new list initialized from iterable's items">
  607. </Overload>
  608. </KeyWord>
  609. <KeyWord name="ljust" func="yes">
  610. <Overload retVal="" descr="S.ljust(width[, fillchar]) -&gt; string&#x0a;&#x0a;Return S left-justified in a string of length width. Padding is&#x0a;done using the specified fill character (default is a space).">
  611. </Overload>
  612. </KeyWord>
  613. <KeyWord name="locals" func="yes">
  614. <Overload retVal="" descr="locals() -&gt; dictionary&#x0a;&#x0a;Update and return a dictionary containing the current scope's local variables.">
  615. </Overload>
  616. </KeyWord>
  617. <KeyWord name="long" func="yes">
  618. <Overload retVal="" descr="long(x[, base]) -&gt; integer&#x0a;&#x0a;Convert a string or number to a long integer, if possible. A floating&#x0a;point argument will be truncated towards zero (this does not include a&#x0a;string representation of a floating point number!) When converting a&#x0a;string, use the optional base. It is an error to supply a base when&#x0a;converting a non-string.">
  619. </Overload>
  620. </KeyWord>
  621. <KeyWord name="lower" func="yes">
  622. <Overload retVal="" descr="S.lower() -&gt; string&#x0a;&#x0a;Return a copy of the string S converted to lowercase.">
  623. </Overload>
  624. </KeyWord>
  625. <KeyWord name="lstrip" func="yes">
  626. <Overload retVal="" descr="S.lstrip([chars]) -&gt; string or unicode&#x0a;&#x0a;Return a copy of the string S with leading whitespace removed.&#x0a;If chars is given and not None, remove characters in chars instead.&#x0a;If chars is unicode, S will be converted to unicode before stripping">
  627. </Overload>
  628. </KeyWord>
  629. <KeyWord name="map" func="yes">
  630. <Overload retVal="" descr="map(function, sequence[, sequence, ...]) -&gt; list&#x0a;&#x0a;Return a list of the results of applying the function to the items of&#x0a;the argument sequence(s). If more than one sequence is given, the&#x0a;function is called with an argument list consisting of the corresponding&#x0a;item of each sequence, substituting None for missing values when not all&#x0a;sequences have the same length. If the function is None, return a list of&#x0a;the items of the sequence (or a list of tuples if more than one sequence).">
  631. </Overload>
  632. </KeyWord>
  633. <KeyWord name="max" func="yes">
  634. <Overload retVal="" descr="max(iterable[, key=func]) -&gt; value&#x0a;max(a, b, c, ...[, key=func]) -&gt; value&#x0a;&#x0a;With a single iterable argument, return its largest item.&#x0a;With two or more arguments, return the largest argument.">
  635. </Overload>
  636. </KeyWord>
  637. <KeyWord name="memoryview" func="yes">
  638. <Overload retVal="" descr="memoryview(object)&#x0a;&#x0a;Create a new memoryview object which references the given object.">
  639. </Overload>
  640. </KeyWord>
  641. <KeyWord name="min" func="yes">
  642. <Overload retVal="" descr="min(iterable[, key=func]) -&gt; value&#x0a;min(a, b, c, ...[, key=func]) -&gt; value&#x0a;&#x0a;With a single iterable argument, return its smallest item.&#x0a;With two or more arguments, return the smallest argument.">
  643. </Overload>
  644. </KeyWord>
  645. <KeyWord name="mro" func="yes">
  646. <Overload retVal="" descr="mro() -&gt; list&#x0a;return a type's method resolution order">
  647. </Overload>
  648. </KeyWord>
  649. <KeyWord name="next" func="yes">
  650. <Overload retVal="" descr="x.next() -&gt; the next value, or raise StopIteration">
  651. </Overload>
  652. </KeyWord>
  653. <KeyWord name="not" />
  654. <KeyWord name="object" func="yes">
  655. <Overload retVal="" descr="The most base type">
  656. </Overload>
  657. </KeyWord>
  658. <KeyWord name="oct" func="yes">
  659. <Overload retVal="" descr="oct(number) -&gt; string&#x0a;&#x0a;Return the octal representation of an integer or long integer.">
  660. </Overload>
  661. </KeyWord>
  662. <KeyWord name="open" func="yes">
  663. <Overload retVal="" descr="open(name[, mode[, buffering]]) -&gt; file object&#x0a;&#x0a;Open a file using the file() type, returns a file object. This is the&#x0a;preferred way to open a file. See file.__doc__ for further information.">
  664. </Overload>
  665. </KeyWord>
  666. <KeyWord name="or" />
  667. <KeyWord name="ord" func="yes">
  668. <Overload retVal="" descr="ord(c) -&gt; integer&#x0a;&#x0a;Return the integer ordinal of a one-character string.">
  669. </Overload>
  670. </KeyWord>
  671. <KeyWord name="partition" func="yes">
  672. <Overload retVal="" descr="S.partition(sep) -&gt; (head, sep, tail)&#x0a;&#x0a;Search for the separator sep in S, and return the part before it,&#x0a;the separator itself, and the part after it. If the separator is not&#x0a;found, return S and two empty strings.">
  673. </Overload>
  674. </KeyWord>
  675. <KeyWord name="pass" />
  676. <KeyWord name="pop" func="yes">
  677. <Overload retVal="" descr="L.pop([index]) -&gt; item -- remove and return item at index (default last).&#x0a;Raises IndexError if list is empty or index is out of range.">
  678. </Overload>
  679. </KeyWord>
  680. <KeyWord name="popitem" func="yes">
  681. <Overload retVal="" descr="D.popitem() -&gt; (k, v), remove and return some (key, value) pair as a&#x0a;2-tuple; but raise KeyError if D is empty.">
  682. </Overload>
  683. </KeyWord>
  684. <KeyWord name="pow" func="yes">
  685. <Overload retVal="" descr="pow(x, y[, z]) -&gt; number&#x0a;&#x0a;With two arguments, equivalent to x**y. With three arguments,&#x0a;equivalent to (x**y) % z, but may be more efficient (e.g. for longs).">
  686. </Overload>
  687. </KeyWord>
  688. <KeyWord name="print" />
  689. <KeyWord name="property" func="yes">
  690. <Overload retVal="" descr="property(fget=None, fset=None, fdel=None, doc=None) -&gt; property attribute&#x0a;&#x0a;fget is a function to be used for getting an attribute value, and likewise&#x0a;fset is a function for setting, and fdel a function for del'ing, an&#x0a;attribute. Typical use is to define a managed attribute x:&#x0a;class C(object):&#x0a; def getx(self): return self._x&#x0a; def setx(self, value): self._x = value&#x0a; def delx(self): del self._x&#x0a; x = property(getx, setx, delx, &quot;I'm the 'x' property.&quot;)&#x0a;&#x0a;Decorators make defining new properties or modifying existing ones easy:&#x0a;class C(object):&#x0a; @property&#x0a; def x(self): return self._x&#x0a; @x.setter&#x0a; def x(self, value): self._x = value&#x0a; @x.deleter&#x0a; def x(self): del self._x">
  691. </Overload>
  692. </KeyWord>
  693. <KeyWord name="raise" />
  694. <KeyWord name="range" func="yes">
  695. <Overload retVal="" descr="range([start,] stop[, step]) -&gt; list of integers&#x0a;&#x0a;Return a list containing an arithmetic progression of integers.&#x0a;range(i, j) returns [i, i+1, i+2, ..., j-1]; start (!) defaults to 0.&#x0a;When step is given, it specifies the increment (or decrement).&#x0a;For example, range(4) returns [0, 1, 2, 3]. The end point is omitted!&#x0a;These are exactly the valid indices for a list of 4 elements.">
  696. </Overload>
  697. </KeyWord>
  698. <KeyWord name="raw_input" func="yes">
  699. <Overload retVal="" descr="raw_input([prompt]) -&gt; string&#x0a;&#x0a;Read a string from standard input. The trailing newline is stripped.&#x0a;If the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.&#x0a;On Unix, GNU readline is used if enabled. The prompt string, if given,&#x0a;is printed without a trailing newline before reading.">
  700. </Overload>
  701. </KeyWord>
  702. <KeyWord name="read" func="yes">
  703. <Overload retVal="" descr="read([size]) -&gt; read at most size bytes, returned as a string.&#x0a;&#x0a;If the size argument is negative or omitted, read until EOF is reached.&#x0a;Notice that when in non-blocking mode, less data than what was requested&#x0a;may be returned, even if no size parameter was given.">
  704. </Overload>
  705. </KeyWord>
  706. <KeyWord name="readinto" func="yes">
  707. <Overload retVal="" descr="readinto() -&gt; Undocumented. Don't use this; it may go away.">
  708. </Overload>
  709. </KeyWord>
  710. <KeyWord name="readline" func="yes">
  711. <Overload retVal="" descr="readline([size]) -&gt; next line from the file, as a string.&#x0a;&#x0a;Retain newline. A non-negative size argument limits the maximum&#x0a;number of bytes to return (an incomplete line may be returned then).&#x0a;Return an empty string at EOF.">
  712. </Overload>
  713. </KeyWord>
  714. <KeyWord name="readlines" func="yes">
  715. <Overload retVal="" descr="readlines([size]) -&gt; list of strings, each a line from the file.&#x0a;&#x0a;Call readline() repeatedly and return a list of the lines so read.&#x0a;The optional size argument, if given, is an approximate bound on the&#x0a;total number of bytes in the lines returned.">
  716. </Overload>
  717. </KeyWord>
  718. <KeyWord name="reduce" func="yes">
  719. <Overload retVal="" descr="reduce(function, sequence[, initial]) -&gt; value&#x0a;&#x0a;Apply a function of two arguments cumulatively to the items of a sequence,&#x0a;from left to right, so as to reduce the sequence to a single value.&#x0a;For example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates&#x0a;((((1+2)+3)+4)+5). If initial is present, it is placed before the items&#x0a;of the sequence in the calculation, and serves as a default when the&#x0a;sequence is empty.">
  720. </Overload>
  721. </KeyWord>
  722. <KeyWord name="reload" func="yes">
  723. <Overload retVal="" descr="reload(module) -&gt; module&#x0a;&#x0a;Reload the module. The module must have been successfully imported before.">
  724. </Overload>
  725. </KeyWord>
  726. <KeyWord name="remove" func="yes">
  727. <Overload retVal="" descr="Remove an element from a set; it must be a member.&#x0a;&#x0a;If the element is not a member, raise a KeyError.">
  728. </Overload>
  729. </KeyWord>
  730. <KeyWord name="replace" func="yes">
  731. <Overload retVal="" descr="B.replace(old, new[, count]) -&gt; bytes&#x0a;&#x0a;Return a copy of B with all occurrences of subsection&#x0a;old replaced by new. If the optional argument count is&#x0a;given, only the first count occurrences are replaced.">
  732. </Overload>
  733. </KeyWord>
  734. <KeyWord name="repr" func="yes">
  735. <Overload retVal="" descr="repr(object) -&gt; string&#x0a;&#x0a;Return the canonical string representation of the object.&#x0a;For most object types, eval(repr(object)) == object.">
  736. </Overload>
  737. </KeyWord>
  738. <KeyWord name="return" />
  739. <KeyWord name="reverse" func="yes">
  740. <Overload retVal="" descr="L.reverse() -- reverse *IN PLACE*">
  741. </Overload>
  742. </KeyWord>
  743. <KeyWord name="reversed" func="yes">
  744. <Overload retVal="" descr="reversed(sequence) -&gt; reverse iterator over values of the sequence&#x0a;&#x0a;Return a reverse iterator">
  745. </Overload>
  746. </KeyWord>
  747. <KeyWord name="rfind" func="yes">
  748. <Overload retVal="" descr="B.rfind(sub [,start [,end]]) -&gt; int&#x0a;&#x0a;Return the highest index in B where subsection sub is found,&#x0a;such that sub is contained within s[start,end]. Optional&#x0a;arguments start and end are interpreted as in slice notation.&#x0a;&#x0a;Return -1 on failure.">
  749. </Overload>
  750. </KeyWord>
  751. <KeyWord name="rindex" func="yes">
  752. <Overload retVal="" descr="S.rindex(sub [,start [,end]]) -&gt; int&#x0a;&#x0a;Like S.rfind() but raise ValueError when the substring is not found.">
  753. </Overload>
  754. </KeyWord>
  755. <KeyWord name="rjust" func="yes">
  756. <Overload retVal="" descr="B.rjust(width[, fillchar]) -&gt; copy of B&#x0a;&#x0a;Return B right justified in a string of length width. Padding is&#x0a;done using the specified fill character (default is a space)">
  757. </Overload>
  758. </KeyWord>
  759. <KeyWord name="round" func="yes">
  760. <Overload retVal="" descr="round(number[, ndigits]) -&gt; floating point number&#x0a;&#x0a;Round a number to a given precision in decimal digits (default 0 digits).&#x0a;This always returns a floating point number. Precision may be negative.">
  761. </Overload>
  762. </KeyWord>
  763. <KeyWord name="rpartition" func="yes">
  764. <Overload retVal="" descr="B.rpartition(sep) -&gt; (head, sep, tail)&#x0a;&#x0a;Searches for the separator sep in B, starting at the end of B,&#x0a;and returns the part before it, the separator itself, and the&#x0a;part after it. If the separator is not found, returns two empty&#x0a;bytearray objects and B.">
  765. </Overload>
  766. </KeyWord>
  767. <KeyWord name="rsplit" func="yes">
  768. <Overload retVal="" descr="S.rsplit([sep [,maxsplit]]) -&gt; list of strings&#x0a;&#x0a;Return a list of the words in the string S, using sep as the&#x0a;delimiter string, starting at the end of the string and working&#x0a;to the front. If maxsplit is given, at most maxsplit splits are&#x0a;done. If sep is not specified or is None, any whitespace string&#x0a;is a separator.">
  769. </Overload>
  770. </KeyWord>
  771. <KeyWord name="rstrip" func="yes">
  772. <Overload retVal="" descr="S.rstrip([chars]) -&gt; string or unicode&#x0a;&#x0a;Return a copy of the string S with trailing whitespace removed.&#x0a;If chars is given and not None, remove characters in chars instead.&#x0a;If chars is unicode, S will be converted to unicode before stripping">
  773. </Overload>
  774. </KeyWord>
  775. <KeyWord name="seek" func="yes">
  776. <Overload retVal="" descr="seek(offset[, whence]) -&gt; None. Move to new file position.&#x0a;&#x0a;Argument offset is a byte count. Optional argument whence defaults to&#x0a;0 (offset from start of file, offset should be &gt;= 0); other values are 1&#x0a;(move relative to current position, positive or negative), and 2 (move&#x0a;relative to end of file, usually negative, although many platforms allow&#x0a;seeking beyond the end of a file). If the file is opened in text mode,&#x0a;only offsets returned by tell() are legal. Use of other offsets causes&#x0a;undefined behavior.&#x0a;Note that not all file objects are seekable.">
  777. </Overload>
  778. </KeyWord>
  779. <KeyWord name="set" func="yes">
  780. <Overload retVal="" descr="set() -&gt; new empty set object&#x0a;set(iterable) -&gt; new set object&#x0a;&#x0a;Build an unordered collection of unique elements.">
  781. </Overload>
  782. </KeyWord>
  783. <KeyWord name="setattr" func="yes">
  784. <Overload retVal="" descr="setattr(object, name, value)&#x0a;&#x0a;Set a named attribute on an object; setattr(x, 'y', v) is equivalent to&#x0a;``x.y = v''.">
  785. </Overload>
  786. </KeyWord>
  787. <KeyWord name="setdefault" func="yes">
  788. <Overload retVal="" descr="D.setdefault(k[,d]) -&gt; D.get(k,d), also set D[k]=d if k not in D">
  789. </Overload>
  790. </KeyWord>
  791. <KeyWord name="setter" func="yes">
  792. <Overload retVal="" descr="Descriptor to change the setter on a property.">
  793. </Overload>
  794. </KeyWord>
  795. <KeyWord name="slice" func="yes">
  796. <Overload retVal="" descr="slice([start,] stop[, step])&#x0a;&#x0a;Create a slice object. This is used for extended slicing (e.g. a[0:10:2]).">
  797. </Overload>
  798. </KeyWord>
  799. <KeyWord name="sort" func="yes">
  800. <Overload retVal="" descr="L.sort(cmp=None, key=None, reverse=False) -- stable sort *IN PLACE*;&#x0a;cmp(x, y) -&gt; -1, 0, 1">
  801. </Overload>
  802. </KeyWord>
  803. <KeyWord name="sorted" func="yes">
  804. <Overload retVal="" descr="sorted(iterable, cmp=None, key=None, reverse=False) --&gt; new sorted list">
  805. </Overload>
  806. </KeyWord>
  807. <KeyWord name="split" func="yes">
  808. <Overload retVal="" descr="B.split([sep[, maxsplit]]) -&gt; list of bytearray&#x0a;&#x0a;Return a list of the sections in B, using sep as the delimiter.&#x0a;If sep is not given, B is split on ASCII whitespace characters&#x0a;(space, tab, return, newline, formfeed, vertical tab).&#x0a;If maxsplit is given, at most maxsplit splits are done.">
  809. </Overload>
  810. </KeyWord>
  811. <KeyWord name="splitlines" func="yes">
  812. <Overload retVal="" descr="S.splitlines([keepends]) -&gt; list of strings&#x0a;&#x0a;Return a list of the lines in S, breaking at line boundaries.&#x0a;Line breaks are not included in the resulting list unless keepends&#x0a;is given and true.">
  813. </Overload>
  814. </KeyWord>
  815. <KeyWord name="startswith" func="yes">
  816. <Overload retVal="" descr="S.startswith(prefix[, start[, end]]) -&gt; bool&#x0a;&#x0a;Return True if S starts with the specified prefix, False otherwise.&#x0a;With optional start, test S beginning at that position.&#x0a;With optional end, stop comparing S at that position.&#x0a;prefix can also be a tuple of strings to try.">
  817. </Overload>
  818. </KeyWord>
  819. <KeyWord name="staticmethod" func="yes">
  820. <Overload retVal="" descr="staticmethod(function) -&gt; method&#x0a;&#x0a;Convert a function to be a static method.&#x0a;&#x0a;A static method does not receive an implicit first argument.&#x0a;To declare a static method, use this idiom:&#x0a;&#x0a; class C:&#x0a; def f(arg1, arg2, ...): ...&#x0a; f = staticmethod(f)&#x0a;&#x0a;It can be called either on the class (e.g. C.f()) or on an instance&#x0a;(e.g. C().f()). The instance is ignored except for its class.&#x0a;&#x0a;Static methods in Python are similar to those found in Java or C++.&#x0a;For a more advanced concept, see the classmethod builtin.">
  821. </Overload>
  822. </KeyWord>
  823. <KeyWord name="str" func="yes">
  824. <Overload retVal="" descr="str(object) -&gt; string&#x0a;&#x0a;Return a nice string representation of the object.&#x0a;If the argument is a string, the return value is the same object.">
  825. </Overload>
  826. </KeyWord>
  827. <KeyWord name="strip" func="yes">
  828. <Overload retVal="" descr="S.strip([chars]) -&gt; string or unicode&#x0a;&#x0a;Return a copy of the string S with leading and trailing&#x0a;whitespace removed.&#x0a;If chars is given and not None, remove characters in chars instead.&#x0a;If chars is unicode, S will be converted to unicode before stripping">
  829. </Overload>
  830. </KeyWord>
  831. <KeyWord name="sum" func="yes">
  832. <Overload retVal="" descr="sum(sequence[, start]) -&gt; value&#x0a;&#x0a;Returns the sum of a sequence of numbers (NOT strings) plus the value&#x0a;of parameter 'start' (which defaults to 0). When the sequence is&#x0a;empty, returns start.">
  833. </Overload>
  834. </KeyWord>
  835. <KeyWord name="super" func="yes">
  836. <Overload retVal="" descr="super(type) -&gt; unbound super object&#x0a;super(type, obj) -&gt; bound super object; requires isinstance(obj, type)&#x0a;super(type, type2) -&gt; bound super object; requires issubclass(type2, type)&#x0a;Typical use to call a cooperative superclass method:&#x0a;class C(B):&#x0a; def meth(self, arg):&#x0a; super(C, self).meth(arg)">
  837. </Overload>
  838. </KeyWord>
  839. <KeyWord name="swapcase" func="yes">
  840. <Overload retVal="" descr="S.swapcase() -&gt; string&#x0a;&#x0a;Return a copy of the string S with uppercase characters&#x0a;converted to lowercase and vice versa.">
  841. </Overload>
  842. </KeyWord>
  843. <KeyWord name="symmetric_difference" func="yes">
  844. <Overload retVal="" descr="Return the symmetric difference of two sets as a new set.&#x0a;&#x0a;(i.e. all elements that are in exactly one of the sets.)">
  845. </Overload>
  846. </KeyWord>
  847. <KeyWord name="symmetric_difference_update" func="yes">
  848. <Overload retVal="" descr="Update a set with the symmetric difference of itself and another.">
  849. </Overload>
  850. </KeyWord>
  851. <KeyWord name="tell" func="yes">
  852. <Overload retVal="" descr="tell() -&gt; current file position, an integer (may be a long integer).">
  853. </Overload>
  854. </KeyWord>
  855. <KeyWord name="title" func="yes">
  856. <Overload retVal="" descr="S.title() -&gt; unicode&#x0a;&#x0a;Return a titlecased version of S, i.e. words start with title case&#x0a;characters, all remaining cased characters have lower case.">
  857. </Overload>
  858. </KeyWord>
  859. <KeyWord name="tobytes" />
  860. <KeyWord name="tolist" />
  861. <KeyWord name="translate" func="yes">
  862. <Overload retVal="" descr="B.translate(table[, deletechars]) -&gt; bytearray&#x0a;&#x0a;Return a copy of B, where all characters occurring in the&#x0a;optional argument deletechars are removed, and the remaining&#x0a;characters have been mapped through the given translation&#x0a;table, which must be a bytes object of length 256.">
  863. </Overload>
  864. </KeyWord>
  865. <KeyWord name="truncate" func="yes">
  866. <Overload retVal="" descr="truncate([size]) -&gt; None. Truncate the file to at most size bytes.&#x0a;&#x0a;Size defaults to the current file position, as returned by tell().">
  867. </Overload>
  868. </KeyWord>
  869. <KeyWord name="try" />
  870. <KeyWord name="tuple" func="yes">
  871. <Overload retVal="" descr="tuple() -&gt; empty tuple&#x0a;tuple(iterable) -&gt; tuple initialized from iterable's items&#x0a;&#x0a;If the argument is a tuple, the return value is the same object.">
  872. </Overload>
  873. </KeyWord>
  874. <KeyWord name="type" func="yes">
  875. <Overload retVal="" descr="type(object) -&gt; the object's type&#x0a;type(name, bases, dict) -&gt; a new type">
  876. </Overload>
  877. </KeyWord>
  878. <KeyWord name="unichr" func="yes">
  879. <Overload retVal="" descr="unichr(i) -&gt; Unicode character&#x0a;&#x0a;Return a Unicode string of one character with ordinal i; 0 &lt;= i &lt;= 0x10ffff.">
  880. </Overload>
  881. </KeyWord>
  882. <KeyWord name="unicode" func="yes">
  883. <Overload retVal="" descr="unicode(string [, encoding[, errors]]) -&gt; object&#x0a;&#x0a;Create a new Unicode object from the given encoded string.&#x0a;encoding defaults to the current default string encoding.&#x0a;errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.">
  884. </Overload>
  885. </KeyWord>
  886. <KeyWord name="union" func="yes">
  887. <Overload retVal="" descr="Return the union of sets as a new set.&#x0a;&#x0a;(i.e. all elements that are in either set.)">
  888. </Overload>
  889. </KeyWord>
  890. <KeyWord name="update" func="yes">
  891. <Overload retVal="" descr="D.update(E, **F) -&gt; None. Update D from dict/iterable E and F.&#x0a;If E has a .keys() method, does: for k in E: D[k] = E[k]&#x0a;If E lacks .keys() method, does: for (k, v) in E: D[k] = v&#x0a;In either case, this is followed by: for k in F: D[k] = F[k]">
  892. </Overload>
  893. </KeyWord>
  894. <KeyWord name="upper" func="yes">
  895. <Overload retVal="" descr="S.upper() -&gt; unicode&#x0a;&#x0a;Return a copy of S converted to uppercase.">
  896. </Overload>
  897. </KeyWord>
  898. <KeyWord name="values" func="yes">
  899. <Overload retVal="" descr="D.values() -&gt; list of D's values">
  900. </Overload>
  901. </KeyWord>
  902. <KeyWord name="vars" func="yes">
  903. <Overload retVal="" descr="vars([object]) -&gt; dictionary&#x0a;&#x0a;Without arguments, equivalent to locals().&#x0a;With an argument, equivalent to object.__dict__.">
  904. </Overload>
  905. </KeyWord>
  906. <KeyWord name="viewitems" func="yes">
  907. <Overload retVal="" descr="D.viewitems() -&gt; a set-like object providing a view on D's items">
  908. </Overload>
  909. </KeyWord>
  910. <KeyWord name="viewkeys" func="yes">
  911. <Overload retVal="" descr="D.viewkeys() -&gt; a set-like object providing a view on D's keys">
  912. </Overload>
  913. </KeyWord>
  914. <KeyWord name="viewvalues" func="yes">
  915. <Overload retVal="" descr="D.viewvalues() -&gt; an object providing a view on D's values">
  916. </Overload>
  917. </KeyWord>
  918. <KeyWord name="while" />
  919. <KeyWord name="with" />
  920. <KeyWord name="write" func="yes">
  921. <Overload retVal="" descr="write(str) -&gt; None. Write string str to file.&#x0a;&#x0a;Note that due to buffering, flush() or close() may be needed before&#x0a;the file on disk reflects the data written.">
  922. </Overload>
  923. </KeyWord>
  924. <KeyWord name="writelines" func="yes">
  925. <Overload retVal="" descr="writelines(sequence_of_strings) -&gt; None. Write the strings to the file.&#x0a;&#x0a;Note that newlines are not added. The sequence can be any iterable object&#x0a;producing strings. This is equivalent to calling write() for each string.">
  926. </Overload>
  927. </KeyWord>
  928. <KeyWord name="xrange" func="yes">
  929. <Overload retVal="" descr="xrange([start,] stop[, step]) -&gt; xrange object&#x0a;&#x0a;Like range(), but instead of returning a list, returns an object that&#x0a;generates the numbers in the range on demand. For looping, this is &#x0a;slightly faster than range() and more memory efficient.">
  930. </Overload>
  931. </KeyWord>
  932. <KeyWord name="xreadlines" func="yes">
  933. <Overload retVal="" descr="xreadlines() -&gt; returns self.&#x0a;&#x0a;For backward compatibility. File objects now include the performance&#x0a;optimizations previously implemented in the xreadlines module.">
  934. </Overload>
  935. </KeyWord>
  936. <KeyWord name="yield" />
  937. <KeyWord name="zfill" func="yes">
  938. <Overload retVal="" descr="B.zfill(width) -&gt; copy of B&#x0a;&#x0a;Pad a numeric string B with zeros on the left, to fill a field&#x0a;of the specified width. B is never truncated.">
  939. </Overload>
  940. </KeyWord>
  941. <KeyWord name="zip" func="yes">
  942. <Overload retVal="" descr="zip(seq1 [, seq2 [...]]) -&gt; [(seq1[0], seq2[0] ...), (...)]&#x0a;&#x0a;Return a list of tuples, where each tuple contains the i-th element&#x0a;from each of the argument sequences. The returned list is truncated&#x0a;in length to the length of the shortest argument sequence.">
  943. </Overload>
  944. </KeyWord>
  945. </AutoComplete>
  946. </NotepadPlus>