Skip to content

Instantly share code, notes, and snippets.

@walles
Created November 4, 2015 10:26
Show Gist options
  • Save walles/e7aa580de154c1c3ba90 to your computer and use it in GitHub Desktop.
Save walles/e7aa580de154c1c3ba90 to your computer and use it in GitHub Desktop.
Serializing request to be sent to Jedi Object {id: "23118315d0055354db81a7746dc5fb87", lookup: "completions", path: undefined, source: "import subprocess↵↵s", line: 2…}
Serializing request to be sent to Jedi Object {id: "b6849f9cc4e2ddcb79a99d783444367a", lookup: "completions", path: undefined, source: "import subprocess↵↵su", line: 2…}
Serializing request to be sent to Jedi Object {id: "9dce507a70af5cc206489a7992053ec5", lookup: "completions", path: undefined, source: "import subprocess↵↵sub", line: 2…}
Deserealizing response from Jedi {"id": "23118315d0055354db81a7746dc5fb87", "results": [{"snippet": "abs$0", "rightLabel": "", "type": "builtin", "description": "abs(number) -> number\n\nReturn the absolute value of the argument."}, {"snippet": "all$0", "rightLabel": "", "type": "builtin", "description": "all(iterable) -> bool\n\nReturn True if bool(x) is True for all values x in the iterable.\nIf the iterable is empty, return True."}, {"snippet": "and$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "any$0", "rightLabel": "", "type": "builtin", "description": "any(iterable) -> bool\n\nReturn True if bool(x) is True for any x in the iterable.\nIf the iterable is empty, return False."}, {"snippet": "apply$0", "rightLabel": "", "type": "builtin", "description": "apply(object[, args[, kwargs]]) -> value\n\nCall a callable object with positional arguments taken from the tuple args,\nand keyword arguments taken from the optional dictionary kwargs.\nNote that classes are callable, as are instances with a __call__() method.\n\nDeprecated since release 2.3. Instead, use the extended call syntax:\n function(*args, **keywords)."}, {"snippet": "ArithmeticError$0", "rightLabel": "", "type": "builtin", "description": "Base class for arithmetic errors."}, {"snippet": "as$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "assert$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "AssertionError$0", "rightLabel": "", "type": "builtin", "description": "Assertion failed."}, {"snippet": "AttributeError$0", "rightLabel": "", "type": "builtin", "description": "Attribute not found."}, {"snippet": "BaseException$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all exceptions"}, {"snippet": "basestring$0", "rightLabel": "", "type": "builtin", "description": "Type basestring cannot be instantiated; it is the base for str and unicode."}, {"snippet": "bin$0", "rightLabel": "", "type": "builtin", "description": "bin(number) -> string\n\nReturn the binary representation of an integer or long integer."}, {"snippet": "bool$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "break$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "buffer$0", "rightLabel": "", "type": "builtin", "description": "buffer(object [, offset[, size]])\n\nCreate a new buffer object which references the given object.\nThe buffer will reference a slice of the target object from the\nstart of the object (or at the specified offset). The slice will\nextend to the end of the target object (or with the specified size)."}, {"snippet": "BufferError$0", "rightLabel": "", "type": "builtin", "description": "Buffer error."}, {"snippet": "bytearray$0", "rightLabel": "", "type": "builtin", "description": "bytearray(iterable_of_ints) -> bytearray.\nbytearray(string, encoding[, errors]) -> bytearray.\nbytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray.\nbytearray(memory_view) -> bytearray.\n\nConstruct an mutable bytearray object from:\n - an iterable yielding integers in range(256)\n - a text string encoded using the specified encoding\n - a bytes or a bytearray object\n - any object implementing the buffer API.\n\nbytearray(int) -> bytearray.\n\nConstruct a zero-initialized bytearray of the given length."}, {"snippet": "bytes$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "BytesWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about bytes and buffer related problems, mostly\nrelated to conversion from str or comparing to str."}, {"snippet": "callable$0", "rightLabel": "", "type": "builtin", "description": "callable(object) -> bool\n\nReturn whether the object is callable (i.e., some kind of function).\nNote that classes are callable, as are instances with a __call__() method."}, {"snippet": "chr$0", "rightLabel": "", "type": "builtin", "description": "chr(i) -> character\n\nReturn a string of one character with ordinal i; 0 <= i < 256."}, {"snippet": "class$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "classmethod$0", "rightLabel": "", "type": "builtin", "description": "classmethod(function) -> method\n\nConvert a function to be a class method.\n\nA class method receives the class as implicit first argument,\njust like an instance method receives the instance.\nTo declare a class method, use this idiom:\n\n class C:\n def f(cls, arg1, arg2, ...): ...\n f = classmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\nIf a class method is called for a derived class, the derived class\nobject is passed as the implied first argument.\n\nClass methods are different than C++ or Java static methods.\nIf you want those, see the staticmethod builtin."}, {"snippet": "cmp$0", "rightLabel": "", "type": "builtin", "description": "cmp(x, y) -> integer\n\nReturn negative if x<y, zero if x==y, positive if x>y."}, {"snippet": "coerce$0", "rightLabel": "", "type": "builtin", "description": "coerce(x, y) -> (x1, y1)\n\nReturn a tuple consisting of the two numeric arguments converted to\na common type, using the same rules as used by arithmetic operations.\nIf coercion is not possible, raise TypeError."}, {"snippet": "compile$0", "rightLabel": "", "type": "builtin", "description": "compile(source, filename, mode[, flags[, dont_inherit]]) -> code object\n\nCompile the source string (a Python module, statement or expression)\ninto a code object that can be executed by the exec statement or eval().\nThe filename will be used for run-time error messages.\nThe mode must be 'exec' to compile a module, 'single' to compile a\nsingle (interactive) statement, or 'eval' to compile an expression.\nThe flags argument, if present, controls which future statements influence\nthe compilation of the code.\nThe dont_inherit argument, if non-zero, stops the compilation inheriting\nthe effects of any future statements in effect in the code calling\ncompile; if absent or zero these statements do influence the compilation,\nin addition to any features explicitly specified."}, {"snippet": "complex$0", "rightLabel": "", "type": "builtin", "description": "complex(real[, imag]) -> complex number\n\nCreate a complex number from a real part and an optional imaginary part.\nThis is equivalent to (real + imag*1j) where imag defaults to 0."}, {"snippet": "continue$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "copyright$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "credits$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "def$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "del$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "delattr$0", "rightLabel": "", "type": "builtin", "description": "delattr(object, name)\n\nDelete a named attribute on an object; delattr(x, 'y') is equivalent to\n``del x.y''."}, {"snippet": "DeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about deprecated features."}, {"snippet": "dict$0", "rightLabel": "", "type": "builtin", "description": "dict() -> new empty dictionary\ndict(mapping) -> new dictionary initialized from a mapping object's\n (key, value) pairs\ndict(iterable) -> new dictionary initialized as if via:\n d = {}\n for k, v in iterable:\n d[k] = v\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\n in the keyword argument list. For example: dict(one=1, two=2)"}, {"snippet": "dir$0", "rightLabel": "", "type": "builtin", "description": "dir([object]) -> list of strings\n\nIf called without an argument, return the names in the current scope.\nElse, return an alphabetized list of names comprising (some of) the attributes\nof the given object, and of attributes reachable from it.\nIf the object supplies a method named __dir__, it will be used; otherwise\nthe default dir() logic is used and returns:\n for a module object: the module's attributes.\n for a class object: its attributes, and recursively the attributes\n of its bases.\n for any other object: its attributes, its class's attributes, and\n recursively the attributes of its class's base classes."}, {"snippet": "divmod$0", "rightLabel": "", "type": "builtin", "description": "divmod(x, y) -> (quotient, remainder)\n\nReturn the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x."}, {"snippet": "elif$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Ellipsis$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "else$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "enumerate$0", "rightLabel": "", "type": "builtin", "description": "enumerate(iterable[, start]) -> iterator for index, value of iterable\n\nReturn an enumerate object. iterable must be another object that supports\niteration. The enumerate object yields pairs containing a count (from\nstart, which defaults to zero) and a value yielded by the iterable argument.\nenumerate is useful for obtaining an indexed list:\n (0, seq[0]), (1, seq[1]), (2, seq[2]), ..."}, {"snippet": "EnvironmentError$0", "rightLabel": "", "type": "builtin", "description": "Base class for I/O related errors."}, {"snippet": "EOFError$0", "rightLabel": "", "type": "builtin", "description": "Read beyond end of file."}, {"snippet": "eval$0", "rightLabel": "", "type": "builtin", "description": "eval(source[, globals[, locals]]) -> value\n\nEvaluate the source in the context of globals and locals.\nThe source may be a string representing a Python expression\nor a code object as returned by compile().\nThe globals must be a dictionary and locals can be any mapping,\ndefaulting to the current globals and locals.\nIf only globals is given, locals defaults to it."}, {"snippet": "except$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Exception$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all non-exit exceptions."}, {"snippet": "exec$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "execfile$0", "rightLabel": "", "type": "builtin", "description": "execfile(filename[, globals[, locals]])\n\nRead and execute a Python script from a file.\nThe globals and locals are dictionaries, defaulting to the current\nglobals and locals. If only globals is given, locals defaults to it."}, {"snippet": "exit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "False$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "file$0", "rightLabel": "", "type": "builtin", "description": "file(name[, mode[, buffering]]) -> file object\n\nOpen a file. The mode can be 'r', 'w' or 'a' for reading (default),\nwriting or appending. The file will be created if it doesn't exist\nwhen opened for writing or appending; it will be truncated when\nopened for writing. Add a 'b' to the mode for binary files.\nAdd a '+' to the mode to allow simultaneous reading and writing.\nIf the buffering argument is given, 0 means unbuffered, 1 means line\nbuffered, and larger numbers specify the buffer size. The preferred way\nto open a file is with the builtin open() function.\nAdd a 'U' to mode to open the file for input with universal newline\nsupport. Any line ending in the input file will be seen as a '\\n'\nin Python. Also, a file so opened gains the attribute 'newlines';\nthe value for this attribute is one of None (no newline read yet),\n'\\r', '\\n', '\\r\\n' or a tuple containing all the newline types seen.\n\n'U' cannot be combined with 'w' or '+' mode."}, {"snippet": "filter$0", "rightLabel": "", "type": "builtin", "description": "filter(function or None, sequence) -> list, tuple, or string\n\nReturn those items of sequence for which function(item) is true. If\nfunction is None, return the items that are true. If sequence is a tuple\nor string, return the same type, else return a list."}, {"snippet": "finally$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "float$0", "rightLabel": "", "type": "builtin", "description": "float(x) -> floating point number\n\nConvert a string or number to a floating point number, if possible."}, {"snippet": "FloatingPointError$0", "rightLabel": "", "type": "builtin", "description": "Floating point operation failed."}, {"snippet": "for$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "format$0", "rightLabel": "", "type": "builtin", "description": "format(value[, format_spec]) -> string\n\nReturns value.__format__(format_spec)\nformat_spec defaults to \"\""}, {"snippet": "from$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "frozenset$0", "rightLabel": "", "type": "builtin", "description": "frozenset() -> empty frozenset object\nfrozenset(iterable) -> frozenset object\n\nBuild an immutable unordered collection of unique elements."}, {"snippet": "FutureWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about constructs that will change semantically\nin the future."}, {"snippet": "GeneratorExit$0", "rightLabel": "", "type": "builtin", "description": "Request that a generator exit."}, {"snippet": "getattr$0", "rightLabel": "", "type": "builtin", "description": "getattr(object, name[, default]) -> value\n\nGet a named attribute from an object; getattr(x, 'y') is equivalent to x.y.\nWhen a default argument is given, it is returned when the attribute doesn't\nexist; without it, an exception is raised in that case."}, {"snippet": "global$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "globals$0", "rightLabel": "", "type": "builtin", "description": "globals() -> dictionary\n\nReturn the dictionary containing the current scope's global variables."}, {"snippet": "hasattr$0", "rightLabel": "", "type": "builtin", "description": "hasattr(object, name) -> bool\n\nReturn whether the object has an attribute with the given name.\n(This is done by calling getattr(object, name) and catching exceptions.)"}, {"snippet": "hash$0", "rightLabel": "", "type": "builtin", "description": "hash(object) -> integer\n\nReturn a hash value for the object. Two objects with the same value have\nthe same hash value. The reverse is not necessarily true, but likely."}, {"snippet": "help$0", "rightLabel": "", "type": "builtin", "description": "Define the builtin 'help'.\nThis is a wrapper around pydoc.help (with a twist)."}, {"snippet": "hex$0", "rightLabel": "", "type": "builtin", "description": "hex(number) -> string\n\nReturn the hexadecimal representation of an integer or long integer."}, {"snippet": "id$0", "rightLabel": "", "type": "builtin", "description": "id(object) -> integer\n\nReturn the identity of an object. This is guaranteed to be unique among\nsimultaneously existing objects. (Hint: it's the object's memory address.)"}, {"snippet": "if$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "import$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ImportError$0", "rightLabel": "", "type": "builtin", "description": "Import can't find module, or can't find name in module."}, {"snippet": "ImportWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about probable mistakes in module imports"}, {"snippet": "in$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "IndentationError$0", "rightLabel": "", "type": "builtin", "description": "Improper indentation."}, {"snippet": "IndexError$0", "rightLabel": "", "type": "builtin", "description": "Sequence index out of range."}, {"snippet": "input$0", "rightLabel": "", "type": "builtin", "description": "input([prompt]) -> value\n\nEquivalent to eval(raw_input(prompt))."}, {"snippet": "int$0", "rightLabel": "", "type": "builtin", "description": "int(x=0) -> int or long\nint(x, base=10) -> int or long\n\nConvert a number or string to an integer, or return 0 if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\nIf x is outside the integer range, the function returns a long instead.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4"}, {"snippet": "intern$0", "rightLabel": "", "type": "builtin", "description": "intern(string) -> string\n\n``Intern'' the given string. This enters the string in the (global)\ntable of interned strings whose purpose is to speed up dictionary lookups.\nReturn the string itself or the previously interned string object with the\nsame value."}, {"snippet": "IOError$0", "rightLabel": "", "type": "builtin", "description": "I/O operation failed."}, {"snippet": "is$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "isinstance$0", "rightLabel": "", "type": "builtin", "description": "isinstance(object, class-or-type-or-tuple) -> bool\n\nReturn whether an object is an instance of a class or of a subclass thereof.\nWith a type as second argument, return whether that is the object's type.\nThe form using a tuple, isinstance(x, (A, B, ...)), is a shortcut for\nisinstance(x, A) or isinstance(x, B) or ... (etc.)."}, {"snippet": "issubclass$0", "rightLabel": "", "type": "builtin", "description": "issubclass(C, B) -> bool\n\nReturn whether class C is a subclass (i.e., a derived class) of class B.\nWhen using a tuple as the second argument issubclass(X, (A, B, ...)),\nis a shortcut for issubclass(X, A) or issubclass(X, B) or ... (etc.)."}, {"snippet": "iter$0", "rightLabel": "", "type": "builtin", "description": "iter(collection, sentinel=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "KeyboardInterrupt$0", "rightLabel": "", "type": "builtin", "description": "Program interrupted by user."}, {"snippet": "KeyError$0", "rightLabel": "", "type": "builtin", "description": "Mapping key not found."}, {"snippet": "lambda$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "len$0", "rightLabel": "", "type": "builtin", "description": "len(object) -> integer\n\nReturn the number of items of a sequence or collection."}, {"snippet": "license$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "list$0", "rightLabel": "", "type": "builtin", "description": "list() -> new empty list\nlist(iterable) -> new list initialized from iterable's items"}, {"snippet": "locals$0", "rightLabel": "", "type": "builtin", "description": "locals() -> dictionary\n\nUpdate and return a dictionary containing the current scope's local variables."}, {"snippet": "long$0", "rightLabel": "", "type": "builtin", "description": "long(x=0) -> long\nlong(x, base=10) -> long\n\nConvert a number or string to a long integer, or return 0L if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4L"}, {"snippet": "LookupError$0", "rightLabel": "", "type": "builtin", "description": "Base class for lookup errors."}, {"snippet": "map$0", "rightLabel": "", "type": "builtin", "description": "map(function, sequence[, sequence, ...]) -> list\n\nReturn a list of the results of applying the function to the items of\nthe argument sequence(s). If more than one sequence is given, the\nfunction is called with an argument list consisting of the corresponding\nitem of each sequence, substituting None for missing values when not all\nsequences have the same length. If the function is None, return a list of\nthe items of the sequence (or a list of tuples if more than one sequence)."}, {"snippet": "max$0", "rightLabel": "", "type": "builtin", "description": "max(iterable[, key=func]) -> value\nmax(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its largest item.\nWith two or more arguments, return the largest argument."}, {"snippet": "MemoryError$0", "rightLabel": "", "type": "builtin", "description": "Out of memory."}, {"snippet": "memoryview$0", "rightLabel": "", "type": "builtin", "description": "memoryview(object)\n\nCreate a new memoryview object which references the given object."}, {"snippet": "min$0", "rightLabel": "", "type": "builtin", "description": "min(iterable[, key=func]) -> value\nmin(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its smallest item.\nWith two or more arguments, return the smallest argument."}, {"snippet": "NameError$0", "rightLabel": "", "type": "builtin", "description": "Name not found globally."}, {"snippet": "next$0", "rightLabel": "", "type": "builtin", "description": "next(iterator, default=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "None$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "not$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "NotImplemented$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "NotImplementedError$0", "rightLabel": "", "type": "builtin", "description": "Method or function hasn't been implemented yet."}, {"snippet": "object$0", "rightLabel": "", "type": "builtin", "description": "The most base type"}, {"snippet": "oct$0", "rightLabel": "", "type": "builtin", "description": "oct(number) -> string\n\nReturn the octal representation of an integer or long integer."}, {"snippet": "open$0", "rightLabel": "", "type": "builtin", "description": "open(name, mode=None, buffering=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "or$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ord$0", "rightLabel": "", "type": "builtin", "description": "ord(c) -> integer\n\nReturn the integer ordinal of a one-character string."}, {"snippet": "OSError$0", "rightLabel": "", "type": "builtin", "description": "OS system call failed."}, {"snippet": "OverflowError$0", "rightLabel": "", "type": "builtin", "description": "Result too large to be represented."}, {"snippet": "pass$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "PendingDeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about features which will be deprecated\nin the future."}, {"snippet": "pow$0", "rightLabel": "", "type": "builtin", "description": "pow(x, y[, z]) -> number\n\nWith two arguments, equivalent to x**y. With three arguments,\nequivalent to (x**y) % z, but may be more efficient (e.g. for longs)."}, {"snippet": "print$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "property$0", "rightLabel": "", "type": "builtin", "description": "property(fget=None, fset=None, fdel=None, doc=None) -> property attribute\n\nfget is a function to be used for getting an attribute value, and likewise\nfset is a function for setting, and fdel a function for del'ing, an\nattribute. Typical use is to define a managed attribute x:\n\nclass C(object):\n def getx(self): return self._x\n def setx(self, value): self._x = value\n def delx(self): del self._x\n x = property(getx, setx, delx, \"I'm the 'x' property.\")\n\nDecorators make defining new properties or modifying existing ones easy:\n\nclass C(object):\n @property\n def x(self):\n \"I am the 'x' property.\"\n return self._x\n @x.setter\n def x(self, value):\n self._x = value\n @x.deleter\n def x(self):\n del self._x"}, {"snippet": "quit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "raise$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "range$0", "rightLabel": "", "type": "builtin", "description": "range(start, stop=None, step=1)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "raw_input$0", "rightLabel": "", "type": "builtin", "description": "raw_input([prompt]) -> string\n\nRead a string from standard input. The trailing newline is stripped.\nIf the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.\nOn Unix, GNU readline is used if enabled. The prompt string, if given,\nis printed without a trailing newline before reading."}, {"snippet": "reduce$0", "rightLabel": "", "type": "builtin", "description": "reduce(function, sequence[, initial]) -> value\n\nApply a function of two arguments cumulatively to the items of a sequence,\nfrom left to right, so as to reduce the sequence to a single value.\nFor example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates\n((((1+2)+3)+4)+5). If initial is present, it is placed before the items\nof the sequence in the calculation, and serves as a default when the\nsequence is empty."}, {"snippet": "ReferenceError$0", "rightLabel": "", "type": "builtin", "description": "Weak ref proxy used after referent went away."}, {"snippet": "reload$0", "rightLabel": "", "type": "builtin", "description": "reload(module) -> module\n\nReload the module. The module must have been successfully imported before."}, {"snippet": "repr$0", "rightLabel": "", "type": "builtin", "description": "repr(object) -> string\n\nReturn the canonical string representation of the object.\nFor most object types, eval(repr(object)) == object."}, {"snippet": "return$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "reversed$0", "rightLabel": "", "type": "builtin", "description": "reversed(sequence) -> reverse iterator over values of the sequence\n\nReturn a reverse iterator"}, {"snippet": "round$0", "rightLabel": "", "type": "builtin", "description": "round(number[, ndigits]) -> floating point number\n\nRound a number to a given precision in decimal digits (default 0 digits).\nThis always returns a floating point number. Precision may be negative."}, {"snippet": "RuntimeError$0", "rightLabel": "", "type": "builtin", "description": "Unspecified run-time error."}, {"snippet": "RuntimeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious runtime behavior."}, {"snippet": "set$0", "rightLabel": "", "type": "builtin", "description": "set() -> new empty set object\nset(iterable) -> new set object\n\nBuild an unordered collection of unique elements."}, {"snippet": "setattr$0", "rightLabel": "", "type": "builtin", "description": "setattr(object, name, value)\n\nSet a named attribute on an object; setattr(x, 'y', v) is equivalent to\n``x.y = v''."}, {"snippet": "slice$0", "rightLabel": "", "type": "builtin", "description": "slice(stop)\nslice(start, stop[, step])\n\nCreate a slice object. This is used for extended slicing (e.g. a[0:10:2])."}, {"snippet": "sorted$0", "rightLabel": "", "type": "builtin", "description": "sorted(iterable, cmp=None, key=None, reverse=False)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "StandardError$0", "rightLabel": "", "type": "builtin", "description": "Base class for all standard Python exceptions that do not represent\ninterpreter exiting."}, {"snippet": "staticmethod$0", "rightLabel": "", "type": "builtin", "description": "staticmethod(function) -> method\n\nConvert a function to be a static method.\n\nA static method does not receive an implicit first argument.\nTo declare a static method, use this idiom:\n\n class C:\n def f(arg1, arg2, ...): ...\n f = staticmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\n\nStatic methods in Python are similar to those found in Java or C++.\nFor a more advanced concept, see the classmethod builtin."}, {"snippet": "StopIteration$0", "rightLabel": "", "type": "builtin", "description": "Signal the end from iterator.next()."}, {"snippet": "str$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "subprocess$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "sum$0", "rightLabel": "", "type": "builtin", "description": "sum(sequence[, start]) -> value\n\nReturn the sum of a sequence of numbers (NOT strings) plus the value\nof parameter 'start' (which defaults to 0). When the sequence is\nempty, return start."}, {"snippet": "super$0", "rightLabel": "", "type": "builtin", "description": "super(type, obj) -> bound super object; requires isinstance(obj, type)\nsuper(type) -> unbound super object\nsuper(type, type2) -> bound super object; requires issubclass(type2, type)\nTypical use to call a cooperative superclass method:\nclass C(B):\n def meth(self, arg):\n super(C, self).meth(arg)"}, {"snippet": "SyntaxError$0", "rightLabel": "", "type": "builtin", "description": "Invalid syntax."}, {"snippet": "SyntaxWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious syntax."}, {"snippet": "SystemError$0", "rightLabel": "", "type": "builtin", "description": "Internal error in the Python interpreter.\n\nPlease report this to the Python maintainer, along with the traceback,\nthe Python version, and the hardware/OS platform and version."}, {"snippet": "SystemExit$0", "rightLabel": "", "type": "builtin", "description": "Request to exit from the interpreter."}, {"snippet": "TabError$0", "rightLabel": "", "type": "builtin", "description": "Improper mixture of spaces and tabs."}, {"snippet": "True$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "try$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "tuple$0", "rightLabel": "", "type": "builtin", "description": "tuple() -> empty tuple\ntuple(iterable) -> tuple initialized from iterable's items\n\nIf the argument is a tuple, the return value is the same object."}, {"snippet": "type$0", "rightLabel": "", "type": "builtin", "description": "type(object) -> the object's type\ntype(name, bases, dict) -> a new type"}, {"snippet": "TypeError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument type."}, {"snippet": "UnboundLocalError$0", "rightLabel": "", "type": "builtin", "description": "Local name referenced but not bound to a value."}, {"snippet": "unichr$0", "rightLabel": "", "type": "builtin", "description": "unichr(i) -> Unicode character\n\nReturn a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff."}, {"snippet": "unicode$0", "rightLabel": "", "type": "builtin", "description": "unicode(object='') -> unicode object\nunicode(string[, encoding[, errors]]) -> unicode object\n\nCreate a new Unicode object from the given encoded string.\nencoding defaults to the current default string encoding.\nerrors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'."}, {"snippet": "UnicodeDecodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode decoding error."}, {"snippet": "UnicodeEncodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode encoding error."}, {"snippet": "UnicodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode related error."}, {"snippet": "UnicodeTranslateError$0", "rightLabel": "", "type": "builtin", "description": "Unicode translation error."}, {"snippet": "UnicodeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about Unicode related problems, mostly\nrelated to conversion problems."}, {"snippet": "UserWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings generated by user code."}, {"snippet": "ValueError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument value (of correct type)."}, {"snippet": "vars$0", "rightLabel": "", "type": "builtin", "description": "vars([object]) -> dictionary\n\nWithout arguments, equivalent to locals().\nWith an argument, equivalent to object.__dict__."}, {"snippet": "Warning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warning categories."}, {"snippet": "while$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "with$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "xrange$0", "rightLabel": "", "type": "builtin", "description": "xrange(stop) -> xrange object\nxrange(start, stop[, step]) -> xrange object\n\nLike range(), but instead of returning a list, returns an object that\ngenerates the numbers in the range on demand. For looping, this is \nslightly faster than range() and more memory efficient."}, {"snippet": "yield$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ZeroDivisionError$0", "rightLabel": "", "type": "builtin", "description": "Second argument to a division or modulo operation was zero."}, {"snippet": "zip$0", "rightLabel": "", "type": "builtin", "description": "zip(seq1 [, seq2 [...]]) -> [(seq1[0], seq2[0] ...), (...)]\n\nReturn a list of tuples, where each tuple contains the i-th element\nfrom each of the argument sequences. The returned list is truncated\nin length to the length of the shortest argument sequence."}, {"snippet": "__debug__$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "__doc__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__file__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__import__$0", "rightLabel": "", "type": "builtin", "description": "__import__(name, globals={}, locals={}, fromlist=[], level=-1) -> module\n\nImport a module. Because this function is meant for use by the Python\ninterpreter and not for general use it is better to use\nimportlib.import_module() to programmatically import a module.\n\nThe globals argument is only used to determine the context;\nthey are not modified. The locals argument is unused. The fromlist\nshould be a list of names to emulate ``from name import ...'', or an\nempty list to emulate ``import name''.\nWhen importing a module from a package, note that __import__('A.B', ...)\nreturns package A when fromlist is empty, but its submodule B when\nfromlist is not empty. Level is used to determine whether to perform \nabsolute or relative imports. -1 is the original strategy of attempting\nboth absolute and relative imports, 0 is absolute, a positive number\nis the number of parent directories to search relative to the current module."}, {"snippet": "__name__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__package__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}]}
Got 1 lines
Pending requests: Object {}
Serializing request to be sent to Jedi Object {id: "05414897464d6cb52d1cf79c1d11d82d", lookup: "completions", path: undefined, source: "import subprocess↵↵subp", line: 2…}
Serializing request to be sent to Jedi Object {id: "18311eb1b340a90010a195c6232cdd27", lookup: "completions", path: undefined, source: "import subprocess↵↵subpr", line: 2…}
Serializing request to be sent to Jedi Object {id: "8bb642ed5f1a53ab2bcc977290d583bd", lookup: "completions", path: undefined, source: "import subprocess↵↵subpro", line: 2…}
Deserealizing response from Jedi {"id": "b6849f9cc4e2ddcb79a99d783444367a", "results": [{"snippet": "abs$0", "rightLabel": "", "type": "builtin", "description": "abs(number) -> number\n\nReturn the absolute value of the argument."}, {"snippet": "all$0", "rightLabel": "", "type": "builtin", "description": "all(iterable) -> bool\n\nReturn True if bool(x) is True for all values x in the iterable.\nIf the iterable is empty, return True."}, {"snippet": "and$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "any$0", "rightLabel": "", "type": "builtin", "description": "any(iterable) -> bool\n\nReturn True if bool(x) is True for any x in the iterable.\nIf the iterable is empty, return False."}, {"snippet": "apply$0", "rightLabel": "", "type": "builtin", "description": "apply(object[, args[, kwargs]]) -> value\n\nCall a callable object with positional arguments taken from the tuple args,\nand keyword arguments taken from the optional dictionary kwargs.\nNote that classes are callable, as are instances with a __call__() method.\n\nDeprecated since release 2.3. Instead, use the extended call syntax:\n function(*args, **keywords)."}, {"snippet": "ArithmeticError$0", "rightLabel": "", "type": "builtin", "description": "Base class for arithmetic errors."}, {"snippet": "as$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "assert$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "AssertionError$0", "rightLabel": "", "type": "builtin", "description": "Assertion failed."}, {"snippet": "AttributeError$0", "rightLabel": "", "type": "builtin", "description": "Attribute not found."}, {"snippet": "BaseException$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all exceptions"}, {"snippet": "basestring$0", "rightLabel": "", "type": "builtin", "description": "Type basestring cannot be instantiated; it is the base for str and unicode."}, {"snippet": "bin$0", "rightLabel": "", "type": "builtin", "description": "bin(number) -> string\n\nReturn the binary representation of an integer or long integer."}, {"snippet": "bool$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "break$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "buffer$0", "rightLabel": "", "type": "builtin", "description": "buffer(object [, offset[, size]])\n\nCreate a new buffer object which references the given object.\nThe buffer will reference a slice of the target object from the\nstart of the object (or at the specified offset). The slice will\nextend to the end of the target object (or with the specified size)."}, {"snippet": "BufferError$0", "rightLabel": "", "type": "builtin", "description": "Buffer error."}, {"snippet": "bytearray$0", "rightLabel": "", "type": "builtin", "description": "bytearray(iterable_of_ints) -> bytearray.\nbytearray(string, encoding[, errors]) -> bytearray.\nbytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray.\nbytearray(memory_view) -> bytearray.\n\nConstruct an mutable bytearray object from:\n - an iterable yielding integers in range(256)\n - a text string encoded using the specified encoding\n - a bytes or a bytearray object\n - any object implementing the buffer API.\n\nbytearray(int) -> bytearray.\n\nConstruct a zero-initialized bytearray of the given length."}, {"snippet": "bytes$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "BytesWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about bytes and buffer related problems, mostly\nrelated to conversion from str or comparing to str."}, {"snippet": "callable$0", "rightLabel": "", "type": "builtin", "description": "callable(object) -> bool\n\nReturn whether the object is callable (i.e., some kind of function).\nNote that classes are callable, as are instances with a __call__() method."}, {"snippet": "chr$0", "rightLabel": "", "type": "builtin", "description": "chr(i) -> character\n\nReturn a string of one character with ordinal i; 0 <= i < 256."}, {"snippet": "class$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "classmethod$0", "rightLabel": "", "type": "builtin", "description": "classmethod(function) -> method\n\nConvert a function to be a class method.\n\nA class method receives the class as implicit first argument,\njust like an instance method receives the instance.\nTo declare a class method, use this idiom:\n\n class C:\n def f(cls, arg1, arg2, ...): ...\n f = classmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\nIf a class method is called for a derived class, the derived class\nobject is passed as the implied first argument.\n\nClass methods are different than C++ or Java static methods.\nIf you want those, see the staticmethod builtin."}, {"snippet": "cmp$0", "rightLabel": "", "type": "builtin", "description": "cmp(x, y) -> integer\n\nReturn negative if x<y, zero if x==y, positive if x>y."}, {"snippet": "coerce$0", "rightLabel": "", "type": "builtin", "description": "coerce(x, y) -> (x1, y1)\n\nReturn a tuple consisting of the two numeric arguments converted to\na common type, using the same rules as used by arithmetic operations.\nIf coercion is not possible, raise TypeError."}, {"snippet": "compile$0", "rightLabel": "", "type": "builtin", "description": "compile(source, filename, mode[, flags[, dont_inherit]]) -> code object\n\nCompile the source string (a Python module, statement or expression)\ninto a code object that can be executed by the exec statement or eval().\nThe filename will be used for run-time error messages.\nThe mode must be 'exec' to compile a module, 'single' to compile a\nsingle (interactive) statement, or 'eval' to compile an expression.\nThe flags argument, if present, controls which future statements influence\nthe compilation of the code.\nThe dont_inherit argument, if non-zero, stops the compilation inheriting\nthe effects of any future statements in effect in the code calling\ncompile; if absent or zero these statements do influence the compilation,\nin addition to any features explicitly specified."}, {"snippet": "complex$0", "rightLabel": "", "type": "builtin", "description": "complex(real[, imag]) -> complex number\n\nCreate a complex number from a real part and an optional imaginary part.\nThis is equivalent to (real + imag*1j) where imag defaults to 0."}, {"snippet": "continue$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "copyright$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "credits$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "def$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "del$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "delattr$0", "rightLabel": "", "type": "builtin", "description": "delattr(object, name)\n\nDelete a named attribute on an object; delattr(x, 'y') is equivalent to\n``del x.y''."}, {"snippet": "DeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about deprecated features."}, {"snippet": "dict$0", "rightLabel": "", "type": "builtin", "description": "dict() -> new empty dictionary\ndict(mapping) -> new dictionary initialized from a mapping object's\n (key, value) pairs\ndict(iterable) -> new dictionary initialized as if via:\n d = {}\n for k, v in iterable:\n d[k] = v\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\n in the keyword argument list. For example: dict(one=1, two=2)"}, {"snippet": "dir$0", "rightLabel": "", "type": "builtin", "description": "dir([object]) -> list of strings\n\nIf called without an argument, return the names in the current scope.\nElse, return an alphabetized list of names comprising (some of) the attributes\nof the given object, and of attributes reachable from it.\nIf the object supplies a method named __dir__, it will be used; otherwise\nthe default dir() logic is used and returns:\n for a module object: the module's attributes.\n for a class object: its attributes, and recursively the attributes\n of its bases.\n for any other object: its attributes, its class's attributes, and\n recursively the attributes of its class's base classes."}, {"snippet": "divmod$0", "rightLabel": "", "type": "builtin", "description": "divmod(x, y) -> (quotient, remainder)\n\nReturn the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x."}, {"snippet": "elif$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Ellipsis$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "else$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "enumerate$0", "rightLabel": "", "type": "builtin", "description": "enumerate(iterable[, start]) -> iterator for index, value of iterable\n\nReturn an enumerate object. iterable must be another object that supports\niteration. The enumerate object yields pairs containing a count (from\nstart, which defaults to zero) and a value yielded by the iterable argument.\nenumerate is useful for obtaining an indexed list:\n (0, seq[0]), (1, seq[1]), (2, seq[2]), ..."}, {"snippet": "EnvironmentError$0", "rightLabel": "", "type": "builtin", "description": "Base class for I/O related errors."}, {"snippet": "EOFError$0", "rightLabel": "", "type": "builtin", "description": "Read beyond end of file."}, {"snippet": "eval$0", "rightLabel": "", "type": "builtin", "description": "eval(source[, globals[, locals]]) -> value\n\nEvaluate the source in the context of globals and locals.\nThe source may be a string representing a Python expression\nor a code object as returned by compile().\nThe globals must be a dictionary and locals can be any mapping,\ndefaulting to the current globals and locals.\nIf only globals is given, locals defaults to it."}, {"snippet": "except$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Exception$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all non-exit exceptions."}, {"snippet": "exec$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "execfile$0", "rightLabel": "", "type": "builtin", "description": "execfile(filename[, globals[, locals]])\n\nRead and execute a Python script from a file.\nThe globals and locals are dictionaries, defaulting to the current\nglobals and locals. If only globals is given, locals defaults to it."}, {"snippet": "exit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "False$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "file$0", "rightLabel": "", "type": "builtin", "description": "file(name[, mode[, buffering]]) -> file object\n\nOpen a file. The mode can be 'r', 'w' or 'a' for reading (default),\nwriting or appending. The file will be created if it doesn't exist\nwhen opened for writing or appending; it will be truncated when\nopened for writing. Add a 'b' to the mode for binary files.\nAdd a '+' to the mode to allow simultaneous reading and writing.\nIf the buffering argument is given, 0 means unbuffered, 1 means line\nbuffered, and larger numbers specify the buffer size. The preferred way\nto open a file is with the builtin open() function.\nAdd a 'U' to mode to open the file for input with universal newline\nsupport. Any line ending in the input file will be seen as a '\\n'\nin Python. Also, a file so opened gains the attribute 'newlines';\nthe value for this attribute is one of None (no newline read yet),\n'\\r', '\\n', '\\r\\n' or a tuple containing all the newline types seen.\n\n'U' cannot be combined with 'w' or '+' mode."}, {"snippet": "filter$0", "rightLabel": "", "type": "builtin", "description": "filter(function or None, sequence) -> list, tuple, or string\n\nReturn those items of sequence for which function(item) is true. If\nfunction is None, return the items that are true. If sequence is a tuple\nor string, return the same type, else return a list."}, {"snippet": "finally$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "float$0", "rightLabel": "", "type": "builtin", "description": "float(x) -> floating point number\n\nConvert a string or number to a floating point number, if possible."}, {"snippet": "FloatingPointError$0", "rightLabel": "", "type": "builtin", "description": "Floating point operation failed."}, {"snippet": "for$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "format$0", "rightLabel": "", "type": "builtin", "description": "format(value[, format_spec]) -> string\n\nReturns value.__format__(format_spec)\nformat_spec defaults to \"\""}, {"snippet": "from$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "frozenset$0", "rightLabel": "", "type": "builtin", "description": "frozenset() -> empty frozenset object\nfrozenset(iterable) -> frozenset object\n\nBuild an immutable unordered collection of unique elements."}, {"snippet": "FutureWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about constructs that will change semantically\nin the future."}, {"snippet": "GeneratorExit$0", "rightLabel": "", "type": "builtin", "description": "Request that a generator exit."}, {"snippet": "getattr$0", "rightLabel": "", "type": "builtin", "description": "getattr(object, name[, default]) -> value\n\nGet a named attribute from an object; getattr(x, 'y') is equivalent to x.y.\nWhen a default argument is given, it is returned when the attribute doesn't\nexist; without it, an exception is raised in that case."}, {"snippet": "global$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "globals$0", "rightLabel": "", "type": "builtin", "description": "globals() -> dictionary\n\nReturn the dictionary containing the current scope's global variables."}, {"snippet": "hasattr$0", "rightLabel": "", "type": "builtin", "description": "hasattr(object, name) -> bool\n\nReturn whether the object has an attribute with the given name.\n(This is done by calling getattr(object, name) and catching exceptions.)"}, {"snippet": "hash$0", "rightLabel": "", "type": "builtin", "description": "hash(object) -> integer\n\nReturn a hash value for the object. Two objects with the same value have\nthe same hash value. The reverse is not necessarily true, but likely."}, {"snippet": "help$0", "rightLabel": "", "type": "builtin", "description": "Define the builtin 'help'.\nThis is a wrapper around pydoc.help (with a twist)."}, {"snippet": "hex$0", "rightLabel": "", "type": "builtin", "description": "hex(number) -> string\n\nReturn the hexadecimal representation of an integer or long integer."}, {"snippet": "id$0", "rightLabel": "", "type": "builtin", "description": "id(object) -> integer\n\nReturn the identity of an object. This is guaranteed to be unique among\nsimultaneously existing objects. (Hint: it's the object's memory address.)"}, {"snippet": "if$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "import$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ImportError$0", "rightLabel": "", "type": "builtin", "description": "Import can't find module, or can't find name in module."}, {"snippet": "ImportWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about probable mistakes in module imports"}, {"snippet": "in$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "IndentationError$0", "rightLabel": "", "type": "builtin", "description": "Improper indentation."}, {"snippet": "IndexError$0", "rightLabel": "", "type": "builtin", "description": "Sequence index out of range."}, {"snippet": "input$0", "rightLabel": "", "type": "builtin", "description": "input([prompt]) -> value\n\nEquivalent to eval(raw_input(prompt))."}, {"snippet": "int$0", "rightLabel": "", "type": "builtin", "description": "int(x=0) -> int or long\nint(x, base=10) -> int or long\n\nConvert a number or string to an integer, or return 0 if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\nIf x is outside the integer range, the function returns a long instead.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4"}, {"snippet": "intern$0", "rightLabel": "", "type": "builtin", "description": "intern(string) -> string\n\n``Intern'' the given string. This enters the string in the (global)\ntable of interned strings whose purpose is to speed up dictionary lookups.\nReturn the string itself or the previously interned string object with the\nsame value."}, {"snippet": "IOError$0", "rightLabel": "", "type": "builtin", "description": "I/O operation failed."}, {"snippet": "is$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "isinstance$0", "rightLabel": "", "type": "builtin", "description": "isinstance(object, class-or-type-or-tuple) -> bool\n\nReturn whether an object is an instance of a class or of a subclass thereof.\nWith a type as second argument, return whether that is the object's type.\nThe form using a tuple, isinstance(x, (A, B, ...)), is a shortcut for\nisinstance(x, A) or isinstance(x, B) or ... (etc.)."}, {"snippet": "issubclass$0", "rightLabel": "", "type": "builtin", "description": "issubclass(C, B) -> bool\n\nReturn whether class C is a subclass (i.e., a derived class) of class B.\nWhen using a tuple as the second argument issubclass(X, (A, B, ...)),\nis a shortcut for issubclass(X, A) or issubclass(X, B) or ... (etc.)."}, {"snippet": "iter$0", "rightLabel": "", "type": "builtin", "description": "iter(collection, sentinel=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "KeyboardInterrupt$0", "rightLabel": "", "type": "builtin", "description": "Program interrupted by user."}, {"snippet": "KeyError$0", "rightLabel": "", "type": "builtin", "description": "Mapping key not found."}, {"snippet": "lambda$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "len$0", "rightLabel": "", "type": "builtin", "description": "len(object) -> integer\n\nReturn the number of items of a sequence or collection."}, {"snippet": "license$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "list$0", "rightLabel": "", "type": "builtin", "description": "list() -> new empty list\nlist(iterable) -> new list initialized from iterable's items"}, {"snippet": "locals$0", "rightLabel": "", "type": "builtin", "description": "locals() -> dictionary\n\nUpdate and return a dictionary containing the current scope's local variables."}, {"snippet": "long$0", "rightLabel": "", "type": "builtin", "description": "long(x=0) -> long\nlong(x, base=10) -> long\n\nConvert a number or string to a long integer, or return 0L if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4L"}, {"snippet": "LookupError$0", "rightLabel": "", "type": "builtin", "description": "Base class for lookup errors."}, {"snippet": "map$0", "rightLabel": "", "type": "builtin", "description": "map(function, sequence[, sequence, ...]) -> list\n\nReturn a list of the results of applying the function to the items of\nthe argument sequence(s). If more than one sequence is given, the\nfunction is called with an argument list consisting of the corresponding\nitem of each sequence, substituting None for missing values when not all\nsequences have the same length. If the function is None, return a list of\nthe items of the sequence (or a list of tuples if more than one sequence)."}, {"snippet": "max$0", "rightLabel": "", "type": "builtin", "description": "max(iterable[, key=func]) -> value\nmax(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its largest item.\nWith two or more arguments, return the largest argument."}, {"snippet": "MemoryError$0", "rightLabel": "", "type": "builtin", "description": "Out of memory."}, {"snippet": "memoryview$0", "rightLabel": "", "type": "builtin", "description": "memoryview(object)\n\nCreate a new memoryview object which references the given object."}, {"snippet": "min$0", "rightLabel": "", "type": "builtin", "description": "min(iterable[, key=func]) -> value\nmin(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its smallest item.\nWith two or more arguments, return the smallest argument."}, {"snippet": "NameError$0", "rightLabel": "", "type": "builtin", "description": "Name not found globally."}, {"snippet": "next$0", "rightLabel": "", "type": "builtin", "description": "next(iterator, default=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "None$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "not$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "NotImplemented$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "NotImplementedError$0", "rightLabel": "", "type": "builtin", "description": "Method or function hasn't been implemented yet."}, {"snippet": "object$0", "rightLabel": "", "type": "builtin", "description": "The most base type"}, {"snippet": "oct$0", "rightLabel": "", "type": "builtin", "description": "oct(number) -> string\n\nReturn the octal representation of an integer or long integer."}, {"snippet": "open$0", "rightLabel": "", "type": "builtin", "description": "open(name, mode=None, buffering=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "or$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ord$0", "rightLabel": "", "type": "builtin", "description": "ord(c) -> integer\n\nReturn the integer ordinal of a one-character string."}, {"snippet": "OSError$0", "rightLabel": "", "type": "builtin", "description": "OS system call failed."}, {"snippet": "OverflowError$0", "rightLabel": "", "type": "builtin", "description": "Result too large to be represented."}, {"snippet": "pass$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "PendingDeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about features which will be deprecated\nin the future."}, {"snippet": "pow$0", "rightLabel": "", "type": "builtin", "description": "pow(x, y[, z]) -> number\n\nWith two arguments, equivalent to x**y. With three arguments,\nequivalent to (x**y) % z, but may be more efficient (e.g. for longs)."}, {"snippet": "print$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "property$0", "rightLabel": "", "type": "builtin", "description": "property(fget=None, fset=None, fdel=None, doc=None) -> property attribute\n\nfget is a function to be used for getting an attribute value, and likewise\nfset is a function for setting, and fdel a function for del'ing, an\nattribute. Typical use is to define a managed attribute x:\n\nclass C(object):\n def getx(self): return self._x\n def setx(self, value): self._x = value\n def delx(self): del self._x\n x = property(getx, setx, delx, \"I'm the 'x' property.\")\n\nDecorators make defining new properties or modifying existing ones easy:\n\nclass C(object):\n @property\n def x(self):\n \"I am the 'x' property.\"\n return self._x\n @x.setter\n def x(self, value):\n self._x = value\n @x.deleter\n def x(self):\n del self._x"}, {"snippet": "quit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "raise$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "range$0", "rightLabel": "", "type": "builtin", "description": "range(start, stop=None, step=1)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "raw_input$0", "rightLabel": "", "type": "builtin", "description": "raw_input([prompt]) -> string\n\nRead a string from standard input. The trailing newline is stripped.\nIf the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.\nOn Unix, GNU readline is used if enabled. The prompt string, if given,\nis printed without a trailing newline before reading."}, {"snippet": "reduce$0", "rightLabel": "", "type": "builtin", "description": "reduce(function, sequence[, initial]) -> value\n\nApply a function of two arguments cumulatively to the items of a sequence,\nfrom left to right, so as to reduce the sequence to a single value.\nFor example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates\n((((1+2)+3)+4)+5). If initial is present, it is placed before the items\nof the sequence in the calculation, and serves as a default when the\nsequence is empty."}, {"snippet": "ReferenceError$0", "rightLabel": "", "type": "builtin", "description": "Weak ref proxy used after referent went away."}, {"snippet": "reload$0", "rightLabel": "", "type": "builtin", "description": "reload(module) -> module\n\nReload the module. The module must have been successfully imported before."}, {"snippet": "repr$0", "rightLabel": "", "type": "builtin", "description": "repr(object) -> string\n\nReturn the canonical string representation of the object.\nFor most object types, eval(repr(object)) == object."}, {"snippet": "return$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "reversed$0", "rightLabel": "", "type": "builtin", "description": "reversed(sequence) -> reverse iterator over values of the sequence\n\nReturn a reverse iterator"}, {"snippet": "round$0", "rightLabel": "", "type": "builtin", "description": "round(number[, ndigits]) -> floating point number\n\nRound a number to a given precision in decimal digits (default 0 digits).\nThis always returns a floating point number. Precision may be negative."}, {"snippet": "RuntimeError$0", "rightLabel": "", "type": "builtin", "description": "Unspecified run-time error."}, {"snippet": "RuntimeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious runtime behavior."}, {"snippet": "set$0", "rightLabel": "", "type": "builtin", "description": "set() -> new empty set object\nset(iterable) -> new set object\n\nBuild an unordered collection of unique elements."}, {"snippet": "setattr$0", "rightLabel": "", "type": "builtin", "description": "setattr(object, name, value)\n\nSet a named attribute on an object; setattr(x, 'y', v) is equivalent to\n``x.y = v''."}, {"snippet": "slice$0", "rightLabel": "", "type": "builtin", "description": "slice(stop)\nslice(start, stop[, step])\n\nCreate a slice object. This is used for extended slicing (e.g. a[0:10:2])."}, {"snippet": "sorted$0", "rightLabel": "", "type": "builtin", "description": "sorted(iterable, cmp=None, key=None, reverse=False)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "StandardError$0", "rightLabel": "", "type": "builtin", "description": "Base class for all standard Python exceptions that do not represent\ninterpreter exiting."}, {"snippet": "staticmethod$0", "rightLabel": "", "type": "builtin", "description": "staticmethod(function) -> method\n\nConvert a function to be a static method.\n\nA static method does not receive an implicit first argument.\nTo declare a static method, use this idiom:\n\n class C:\n def f(arg1, arg2, ...): ...\n f = staticmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\n\nStatic methods in Python are similar to those found in Java or C++.\nFor a more advanced concept, see the classmethod builtin."}, {"snippet": "StopIteration$0", "rightLabel": "", "type": "builtin", "description": "Signal the end from iterator.next()."}, {"snippet": "str$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "subprocess$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "sum$0", "rightLabel": "", "type": "builtin", "description": "sum(sequence[, start]) -> value\n\nReturn the sum of a sequence of numbers (NOT strings) plus the value\nof parameter 'start' (which defaults to 0). When the sequence is\nempty, return start."}, {"snippet": "super$0", "rightLabel": "", "type": "builtin", "description": "super(type, obj) -> bound super object; requires isinstance(obj, type)\nsuper(type) -> unbound super object\nsuper(type, type2) -> bound super object; requires issubclass(type2, type)\nTypical use to call a cooperative superclass method:\nclass C(B):\n def meth(self, arg):\n super(C, self).meth(arg)"}, {"snippet": "SyntaxError$0", "rightLabel": "", "type": "builtin", "description": "Invalid syntax."}, {"snippet": "SyntaxWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious syntax."}, {"snippet": "SystemError$0", "rightLabel": "", "type": "builtin", "description": "Internal error in the Python interpreter.\n\nPlease report this to the Python maintainer, along with the traceback,\nthe Python version, and the hardware/OS platform and version."}, {"snippet": "SystemExit$0", "rightLabel": "", "type": "builtin", "description": "Request to exit from the interpreter."}, {"snippet": "TabError$0", "rightLabel": "", "type": "builtin", "description": "Improper mixture of spaces and tabs."}, {"snippet": "True$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "try$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "tuple$0", "rightLabel": "", "type": "builtin", "description": "tuple() -> empty tuple\ntuple(iterable) -> tuple initialized from iterable's items\n\nIf the argument is a tuple, the return value is the same object."}, {"snippet": "type$0", "rightLabel": "", "type": "builtin", "description": "type(object) -> the object's type\ntype(name, bases, dict) -> a new type"}, {"snippet": "TypeError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument type."}, {"snippet": "UnboundLocalError$0", "rightLabel": "", "type": "builtin", "description": "Local name referenced but not bound to a value."}, {"snippet": "unichr$0", "rightLabel": "", "type": "builtin", "description": "unichr(i) -> Unicode character\n\nReturn a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff."}, {"snippet": "unicode$0", "rightLabel": "", "type": "builtin", "description": "unicode(object='') -> unicode object\nunicode(string[, encoding[, errors]]) -> unicode object\n\nCreate a new Unicode object from the given encoded string.\nencoding defaults to the current default string encoding.\nerrors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'."}, {"snippet": "UnicodeDecodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode decoding error."}, {"snippet": "UnicodeEncodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode encoding error."}, {"snippet": "UnicodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode related error."}, {"snippet": "UnicodeTranslateError$0", "rightLabel": "", "type": "builtin", "description": "Unicode translation error."}, {"snippet": "UnicodeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about Unicode related problems, mostly\nrelated to conversion problems."}, {"snippet": "UserWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings generated by user code."}, {"snippet": "ValueError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument value (of correct type)."}, {"snippet": "vars$0", "rightLabel": "", "type": "builtin", "description": "vars([object]) -> dictionary\n\nWithout arguments, equivalent to locals().\nWith an argument, equivalent to object.__dict__."}, {"snippet": "Warning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warning categories."}, {"snippet": "while$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "with$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "xrange$0", "rightLabel": "", "type": "builtin", "description": "xrange(stop) -> xrange object\nxrange(start, stop[, step]) -> xrange object\n\nLike range(), but instead of returning a list, returns an object that\ngenerates the numbers in the range on demand. For looping, this is \nslightly faster than range() and more memory efficient."}, {"snippet": "yield$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ZeroDivisionError$0", "rightLabel": "", "type": "builtin", "description": "Second argument to a division or modulo operation was zero."}, {"snippet": "zip$0", "rightLabel": "", "type": "builtin", "description": "zip(seq1 [, seq2 [...]]) -> [(seq1[0], seq2[0] ...), (...)]\n\nReturn a list of tuples, where each tuple contains the i-th element\nfrom each of the argument sequences. The returned list is truncated\nin length to the length of the shortest argument sequence."}, {"snippet": "__debug__$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "__doc__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__file__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__import__$0", "rightLabel": "", "type": "builtin", "description": "__import__(name, globals={}, locals={}, fromlist=[], level=-1) -> module\n\nImport a module. Because this function is meant for use by the Python\ninterpreter and not for general use it is better to use\nimportlib.import_module() to programmatically import a module.\n\nThe globals argument is only used to determine the context;\nthey are not modified. The locals argument is unused. The fromlist\nshould be a list of names to emulate ``from name import ...'', or an\nempty list to emulate ``import name''.\nWhen importing a module from a package, note that __import__('A.B', ...)\nreturns package A when fromlist is empty, but its submodule B when\nfromlist is not empty. Level is used to determine whether to perform \nabsolute or relative imports. -1 is the original strategy of attempting\nboth absolute and relative imports, 0 is absolute, a positive number\nis the number of parent directories to search relative to the current module."}, {"snippet": "__name__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__package__$0", "rightLabel": "", "type": "builtin", "description": ""}]}
Got 1 lines
Pending requests: Object {}
Deserealizing response from Jedi {"id": "9dce507a70af5cc206489a7992053ec5", "results": [{"snippet": "abs$0", "rightLabel": "", "type": "builtin", "description": "abs(number) -> number\n\nReturn the absolute value of the argument."}, {"snippet": "all$0", "rightLabel": "", "type": "builtin", "description": "all(iterable) -> bool\n\nReturn True if bool(x) is True for all values x in the iterable.\nIf the iterable is empty, return True."}, {"snippet": "and$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "any$0", "rightLabel": "", "type": "builtin", "description": "any(iterable) -> bool\n\nReturn True if bool(x) is True for any x in the iterable.\nIf the iterable is empty, return False."}, {"snippet": "apply$0", "rightLabel": "", "type": "builtin", "description": "apply(object[, args[, kwargs]]) -> value\n\nCall a callable object with positional arguments taken from the tuple args,\nand keyword arguments taken from the optional dictionary kwargs.\nNote that classes are callable, as are instances with a __call__() method.\n\nDeprecated since release 2.3. Instead, use the extended call syntax:\n function(*args, **keywords)."}, {"snippet": "ArithmeticError$0", "rightLabel": "", "type": "builtin", "description": "Base class for arithmetic errors."}, {"snippet": "as$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "assert$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "AssertionError$0", "rightLabel": "", "type": "builtin", "description": "Assertion failed."}, {"snippet": "AttributeError$0", "rightLabel": "", "type": "builtin", "description": "Attribute not found."}, {"snippet": "BaseException$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all exceptions"}, {"snippet": "basestring$0", "rightLabel": "", "type": "builtin", "description": "Type basestring cannot be instantiated; it is the base for str and unicode."}, {"snippet": "bin$0", "rightLabel": "", "type": "builtin", "description": "bin(number) -> string\n\nReturn the binary representation of an integer or long integer."}, {"snippet": "bool$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "break$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "buffer$0", "rightLabel": "", "type": "builtin", "description": "buffer(object [, offset[, size]])\n\nCreate a new buffer object which references the given object.\nThe buffer will reference a slice of the target object from the\nstart of the object (or at the specified offset). The slice will\nextend to the end of the target object (or with the specified size)."}, {"snippet": "BufferError$0", "rightLabel": "", "type": "builtin", "description": "Buffer error."}, {"snippet": "bytearray$0", "rightLabel": "", "type": "builtin", "description": "bytearray(iterable_of_ints) -> bytearray.\nbytearray(string, encoding[, errors]) -> bytearray.\nbytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray.\nbytearray(memory_view) -> bytearray.\n\nConstruct an mutable bytearray object from:\n - an iterable yielding integers in range(256)\n - a text string encoded using the specified encoding\n - a bytes or a bytearray object\n - any object implementing the buffer API.\n\nbytearray(int) -> bytearray.\n\nConstruct a zero-initialized bytearray of the given length."}, {"snippet": "bytes$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "BytesWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about bytes and buffer related problems, mostly\nrelated to conversion from str or comparing to str."}, {"snippet": "callable$0", "rightLabel": "", "type": "builtin", "description": "callable(object) -> bool\n\nReturn whether the object is callable (i.e., some kind of function).\nNote that classes are callable, as are instances with a __call__() method."}, {"snippet": "chr$0", "rightLabel": "", "type": "builtin", "description": "chr(i) -> character\n\nReturn a string of one character with ordinal i; 0 <= i < 256."}, {"snippet": "class$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "classmethod$0", "rightLabel": "", "type": "builtin", "description": "classmethod(function) -> method\n\nConvert a function to be a class method.\n\nA class method receives the class as implicit first argument,\njust like an instance method receives the instance.\nTo declare a class method, use this idiom:\n\n class C:\n def f(cls, arg1, arg2, ...): ...\n f = classmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\nIf a class method is called for a derived class, the derived class\nobject is passed as the implied first argument.\n\nClass methods are different than C++ or Java static methods.\nIf you want those, see the staticmethod builtin."}, {"snippet": "cmp$0", "rightLabel": "", "type": "builtin", "description": "cmp(x, y) -> integer\n\nReturn negative if x<y, zero if x==y, positive if x>y."}, {"snippet": "coerce$0", "rightLabel": "", "type": "builtin", "description": "coerce(x, y) -> (x1, y1)\n\nReturn a tuple consisting of the two numeric arguments converted to\na common type, using the same rules as used by arithmetic operations.\nIf coercion is not possible, raise TypeError."}, {"snippet": "compile$0", "rightLabel": "", "type": "builtin", "description": "compile(source, filename, mode[, flags[, dont_inherit]]) -> code object\n\nCompile the source string (a Python module, statement or expression)\ninto a code object that can be executed by the exec statement or eval().\nThe filename will be used for run-time error messages.\nThe mode must be 'exec' to compile a module, 'single' to compile a\nsingle (interactive) statement, or 'eval' to compile an expression.\nThe flags argument, if present, controls which future statements influence\nthe compilation of the code.\nThe dont_inherit argument, if non-zero, stops the compilation inheriting\nthe effects of any future statements in effect in the code calling\ncompile; if absent or zero these statements do influence the compilation,\nin addition to any features explicitly specified."}, {"snippet": "complex$0", "rightLabel": "", "type": "builtin", "description": "complex(real[, imag]) -> complex number\n\nCreate a complex number from a real part and an optional imaginary part.\nThis is equivalent to (real + imag*1j) where imag defaults to 0."}, {"snippet": "continue$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "copyright$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "credits$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "def$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "del$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "delattr$0", "rightLabel": "", "type": "builtin", "description": "delattr(object, name)\n\nDelete a named attribute on an object; delattr(x, 'y') is equivalent to\n``del x.y''."}, {"snippet": "DeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about deprecated features."}, {"snippet": "dict$0", "rightLabel": "", "type": "builtin", "description": "dict() -> new empty dictionary\ndict(mapping) -> new dictionary initialized from a mapping object's\n (key, value) pairs\ndict(iterable) -> new dictionary initialized as if via:\n d = {}\n for k, v in iterable:\n d[k] = v\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\n in the keyword argument list. For example: dict(one=1, two=2)"}, {"snippet": "dir$0", "rightLabel": "", "type": "builtin", "description": "dir([object]) -> list of strings\n\nIf called without an argument, return the names in the current scope.\nElse, return an alphabetized list of names comprising (some of) the attributes\nof the given object, and of attributes reachable from it.\nIf the object supplies a method named __dir__, it will be used; otherwise\nthe default dir() logic is used and returns:\n for a module object: the module's attributes.\n for a class object: its attributes, and recursively the attributes\n of its bases.\n for any other object: its attributes, its class's attributes, and\n recursively the attributes of its class's base classes."}, {"snippet": "divmod$0", "rightLabel": "", "type": "builtin", "description": "divmod(x, y) -> (quotient, remainder)\n\nReturn the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x."}, {"snippet": "elif$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Ellipsis$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "else$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "enumerate$0", "rightLabel": "", "type": "builtin", "description": "enumerate(iterable[, start]) -> iterator for index, value of iterable\n\nReturn an enumerate object. iterable must be another object that supports\niteration. The enumerate object yields pairs containing a count (from\nstart, which defaults to zero) and a value yielded by the iterable argument.\nenumerate is useful for obtaining an indexed list:\n (0, seq[0]), (1, seq[1]), (2, seq[2]), ..."}, {"snippet": "EnvironmentError$0", "rightLabel": "", "type": "builtin", "description": "Base class for I/O related errors."}, {"snippet": "EOFError$0", "rightLabel": "", "type": "builtin", "description": "Read beyond end of file."}, {"snippet": "eval$0", "rightLabel": "", "type": "builtin", "description": "eval(source[, globals[, locals]]) -> value\n\nEvaluate the source in the context of globals and locals.\nThe source may be a string representing a Python expression\nor a code object as returned by compile().\nThe globals must be a dictionary and locals can be any mapping,\ndefaulting to the current globals and locals.\nIf only globals is given, locals defaults to it."}, {"snippet": "except$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Exception$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all non-exit exceptions."}, {"snippet": "exec$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "execfile$0", "rightLabel": "", "type": "builtin", "description": "execfile(filename[, globals[, locals]])\n\nRead and execute a Python script from a file.\nThe globals and locals are dictionaries, defaulting to the current\nglobals and locals. If only globals is given, locals defaults to it."}, {"snippet": "exit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "False$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "file$0", "rightLabel": "", "type": "builtin", "description": "file(name[, mode[, buffering]]) -> file object\n\nOpen a file. The mode can be 'r', 'w' or 'a' for reading (default),\nwriting or appending. The file will be created if it doesn't exist\nwhen opened for writing or appending; it will be truncated when\nopened for writing. Add a 'b' to the mode for binary files.\nAdd a '+' to the mode to allow simultaneous reading and writing.\nIf the buffering argument is given, 0 means unbuffered, 1 means line\nbuffered, and larger numbers specify the buffer size. The preferred way\nto open a file is with the builtin open() function.\nAdd a 'U' to mode to open the file for input with universal newline\nsupport. Any line ending in the input file will be seen as a '\\n'\nin Python. Also, a file so opened gains the attribute 'newlines';\nthe value for this attribute is one of None (no newline read yet),\n'\\r', '\\n', '\\r\\n' or a tuple containing all the newline types seen.\n\n'U' cannot be combined with 'w' or '+' mode."}, {"snippet": "filter$0", "rightLabel": "", "type": "builtin", "description": "filter(function or None, sequence) -> list, tuple, or string\n\nReturn those items of sequence for which function(item) is true. If\nfunction is None, return the items that are true. If sequence is a tuple\nor string, return the same type, else return a list."}, {"snippet": "finally$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "float$0", "rightLabel": "", "type": "builtin", "description": "float(x) -> floating point number\n\nConvert a string or number to a floating point number, if possible."}, {"snippet": "FloatingPointError$0", "rightLabel": "", "type": "builtin", "description": "Floating point operation failed."}, {"snippet": "for$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "format$0", "rightLabel": "", "type": "builtin", "description": "format(value[, format_spec]) -> string\n\nReturns value.__format__(format_spec)\nformat_spec defaults to \"\""}, {"snippet": "from$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "frozenset$0", "rightLabel": "", "type": "builtin", "description": "frozenset() -> empty frozenset object\nfrozenset(iterable) -> frozenset object\n\nBuild an immutable unordered collection of unique elements."}, {"snippet": "FutureWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about constructs that will change semantically\nin the future."}, {"snippet": "GeneratorExit$0", "rightLabel": "", "type": "builtin", "description": "Request that a generator exit."}, {"snippet": "getattr$0", "rightLabel": "", "type": "builtin", "description": "getattr(object, name[, default]) -> value\n\nGet a named attribute from an object; getattr(x, 'y') is equivalent to x.y.\nWhen a default argument is given, it is returned when the attribute doesn't\nexist; without it, an exception is raised in that case."}, {"snippet": "global$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "globals$0", "rightLabel": "", "type": "builtin", "description": "globals() -> dictionary\n\nReturn the dictionary containing the current scope's global variables."}, {"snippet": "hasattr$0", "rightLabel": "", "type": "builtin", "description": "hasattr(object, name) -> bool\n\nReturn whether the object has an attribute with the given name.\n(This is done by calling getattr(object, name) and catching exceptions.)"}, {"snippet": "hash$0", "rightLabel": "", "type": "builtin", "description": "hash(object) -> integer\n\nReturn a hash value for the object. Two objects with the same value have\nthe same hash value. The reverse is not necessarily true, but likely."}, {"snippet": "help$0", "rightLabel": "", "type": "builtin", "description": "Define the builtin 'help'.\nThis is a wrapper around pydoc.help (with a twist)."}, {"snippet": "hex$0", "rightLabel": "", "type": "builtin", "description": "hex(number) -> string\n\nReturn the hexadecimal representation of an integer or long integer."}, {"snippet": "id$0", "rightLabel": "", "type": "builtin", "description": "id(object) -> integer\n\nReturn the identity of an object. This is guaranteed to be unique among\nsimultaneously existing objects. (Hint: it's the object's memory address.)"}, {"snippet": "if$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "import$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ImportError$0", "rightLabel": "", "type": "builtin", "description": "Import can't find module, or can't find name in module."}, {"snippet": "ImportWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about probable mistakes in module imports"}, {"snippet": "in$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "IndentationError$0", "rightLabel": "", "type": "builtin", "description": "Improper indentation."}, {"snippet": "IndexError$0", "rightLabel": "", "type": "builtin", "description": "Sequence index out of range."}, {"snippet": "input$0", "rightLabel": "", "type": "builtin", "description": "input([prompt]) -> value\n\nEquivalent to eval(raw_input(prompt))."}, {"snippet": "int$0", "rightLabel": "", "type": "builtin", "description": "int(x=0) -> int or long\nint(x, base=10) -> int or long\n\nConvert a number or string to an integer, or return 0 if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\nIf x is outside the integer range, the function returns a long instead.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4"}, {"snippet": "intern$0", "rightLabel": "", "type": "builtin", "description": "intern(string) -> string\n\n``Intern'' the given string. This enters the string in the (global)\ntable of interned strings whose purpose is to speed up dictionary lookups.\nReturn the string itself or the previously interned string object with the\nsame value."}, {"snippet": "IOError$0", "rightLabel": "", "type": "builtin", "description": "I/O operation failed."}, {"snippet": "is$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "isinstance$0", "rightLabel": "", "type": "builtin", "description": "isinstance(object, class-or-type-or-tuple) -> bool\n\nReturn whether an object is an instance of a class or of a subclass thereof.\nWith a type as second argument, return whether that is the object's type.\nThe form using a tuple, isinstance(x, (A, B, ...)), is a shortcut for\nisinstance(x, A) or isinstance(x, B) or ... (etc.)."}, {"snippet": "issubclass$0", "rightLabel": "", "type": "builtin", "description": "issubclass(C, B) -> bool\n\nReturn whether class C is a subclass (i.e., a derived class) of class B.\nWhen using a tuple as the second argument issubclass(X, (A, B, ...)),\nis a shortcut for issubclass(X, A) or issubclass(X, B) or ... (etc.)."}, {"snippet": "iter$0", "rightLabel": "", "type": "builtin", "description": "iter(collection, sentinel=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "KeyboardInterrupt$0", "rightLabel": "", "type": "builtin", "description": "Program interrupted by user."}, {"snippet": "KeyError$0", "rightLabel": "", "type": "builtin", "description": "Mapping key not found."}, {"snippet": "lambda$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "len$0", "rightLabel": "", "type": "builtin", "description": "len(object) -> integer\n\nReturn the number of items of a sequence or collection."}, {"snippet": "license$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "list$0", "rightLabel": "", "type": "builtin", "description": "list() -> new empty list\nlist(iterable) -> new list initialized from iterable's items"}, {"snippet": "locals$0", "rightLabel": "", "type": "builtin", "description": "locals() -> dictionary\n\nUpdate and return a dictionary containing the current scope's local variables."}, {"snippet": "long$0", "rightLabel": "", "type": "builtin", "description": "long(x=0) -> long\nlong(x, base=10) -> long\n\nConvert a number or string to a long integer, or return 0L if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4L"}, {"snippet": "LookupError$0", "rightLabel": "", "type": "builtin", "description": "Base class for lookup errors."}, {"snippet": "map$0", "rightLabel": "", "type": "builtin", "description": "map(function, sequence[, sequence, ...]) -> list\n\nReturn a list of the results of applying the function to the items of\nthe argument sequence(s). If more than one sequence is given, the\nfunction is called with an argument list consisting of the corresponding\nitem of each sequence, substituting None for missing values when not all\nsequences have the same length. If the function is None, return a list of\nthe items of the sequence (or a list of tuples if more than one sequence)."}, {"snippet": "max$0", "rightLabel": "", "type": "builtin", "description": "max(iterable[, key=func]) -> value\nmax(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its largest item.\nWith two or more arguments, return the largest argument."}, {"snippet": "MemoryError$0", "rightLabel": "", "type": "builtin", "description": "Out of memory."}, {"snippet": "memoryview$0", "rightLabel": "", "type": "builtin", "description": "memoryview(object)\n\nCreate a new memoryview object which references the given object."}, {"snippet": "min$0", "rightLabel": "", "type": "builtin", "description": "min(iterable[, key=func]) -> value\nmin(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its smallest item.\nWith two or more arguments, return the smallest argument."}, {"snippet": "NameError$0", "rightLabel": "", "type": "builtin", "description": "Name not found globally."}, {"snippet": "next$0", "rightLabel": "", "type": "builtin", "description": "next(iterator, default=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "None$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "not$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "NotImplemented$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "NotImplementedError$0", "rightLabel": "", "type": "builtin", "description": "Method or function hasn't been implemented yet."}, {"snippet": "object$0", "rightLabel": "", "type": "builtin", "description": "The most base type"}, {"snippet": "oct$0", "rightLabel": "", "type": "builtin", "description": "oct(number) -> string\n\nReturn the octal representation of an integer or long integer."}, {"snippet": "open$0", "rightLabel": "", "type": "builtin", "description": "open(name, mode=None, buffering=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "or$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ord$0", "rightLabel": "", "type": "builtin", "description": "ord(c) -> integer\n\nReturn the integer ordinal of a one-character string."}, {"snippet": "OSError$0", "rightLabel": "", "type": "builtin", "description": "OS system call failed."}, {"snippet": "OverflowError$0", "rightLabel": "", "type": "builtin", "description": "Result too large to be represented."}, {"snippet": "pass$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "PendingDeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about features which will be deprecated\nin the future."}, {"snippet": "pow$0", "rightLabel": "", "type": "builtin", "description": "pow(x, y[, z]) -> number\n\nWith two arguments, equivalent to x**y. With three arguments,\nequivalent to (x**y) % z, but may be more efficient (e.g. for longs)."}, {"snippet": "print$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "property$0", "rightLabel": "", "type": "builtin", "description": "property(fget=None, fset=None, fdel=None, doc=None) -> property attribute\n\nfget is a function to be used for getting an attribute value, and likewise\nfset is a function for setting, and fdel a function for del'ing, an\nattribute. Typical use is to define a managed attribute x:\n\nclass C(object):\n def getx(self): return self._x\n def setx(self, value): self._x = value\n def delx(self): del self._x\n x = property(getx, setx, delx, \"I'm the 'x' property.\")\n\nDecorators make defining new properties or modifying existing ones easy:\n\nclass C(object):\n @property\n def x(self):\n \"I am the 'x' property.\"\n return self._x\n @x.setter\n def x(self, value):\n self._x = value\n @x.deleter\n def x(self):\n del self._x"}, {"snippet": "quit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "raise$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "range$0", "rightLabel": "", "type": "builtin", "description": "range(start, stop=None, step=1)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "raw_input$0", "rightLabel": "", "type": "builtin", "description": "raw_input([prompt]) -> string\n\nRead a string from standard input. The trailing newline is stripped.\nIf the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.\nOn Unix, GNU readline is used if enabled. The prompt string, if given,\nis printed without a trailing newline before reading."}, {"snippet": "reduce$0", "rightLabel": "", "type": "builtin", "description": "reduce(function, sequence[, initial]) -> value\n\nApply a function of two arguments cumulatively to the items of a sequence,\nfrom left to right, so as to reduce the sequence to a single value.\nFor example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates\n((((1+2)+3)+4)+5). If initial is present, it is placed before the items\nof the sequence in the calculation, and serves as a default when the\nsequence is empty."}, {"snippet": "ReferenceError$0", "rightLabel": "", "type": "builtin", "description": "Weak ref proxy used after referent went away."}, {"snippet": "reload$0", "rightLabel": "", "type": "builtin", "description": "reload(module) -> module\n\nReload the module. The module must have been successfully imported before."}, {"snippet": "repr$0", "rightLabel": "", "type": "builtin", "description": "repr(object) -> string\n\nReturn the canonical string representation of the object.\nFor most object types, eval(repr(object)) == object."}, {"snippet": "return$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "reversed$0", "rightLabel": "", "type": "builtin", "description": "reversed(sequence) -> reverse iterator over values of the sequence\n\nReturn a reverse iterator"}, {"snippet": "round$0", "rightLabel": "", "type": "builtin", "description": "round(number[, ndigits]) -> floating point number\n\nRound a number to a given precision in decimal digits (default 0 digits).\nThis always returns a floating point number. Precision may be negative."}, {"snippet": "RuntimeError$0", "rightLabel": "", "type": "builtin", "description": "Unspecified run-time error."}, {"snippet": "RuntimeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious runtime behavior."}, {"snippet": "set$0", "rightLabel": "", "type": "builtin", "description": "set() -> new empty set object\nset(iterable) -> new set object\n\nBuild an unordered collection of unique elements."}, {"snippet": "setattr$0", "rightLabel": "", "type": "builtin", "description": "setattr(object, name, value)\n\nSet a named attribute on an object; setattr(x, 'y', v) is equivalent to\n``x.y = v''."}, {"snippet": "slice$0", "rightLabel": "", "type": "builtin", "description": "slice(stop)\nslice(start, stop[, step])\n\nCreate a slice object. This is used for extended slicing (e.g. a[0:10:2])."}, {"snippet": "sorted$0", "rightLabel": "", "type": "builtin", "description": "sorted(iterable, cmp=None, key=None, reverse=False)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "StandardError$0", "rightLabel": "", "type": "builtin", "description": "Base class for all standard Python exceptions that do not represent\ninterpreter exiting."}, {"snippet": "staticmethod$0", "rightLabel": "", "type": "builtin", "description": "staticmethod(function) -> method\n\nConvert a function to be a static method.\n\nA static method does not receive an implicit first argument.\nTo declare a static method, use this idiom:\n\n class C:\n def f(arg1, arg2, ...): ...\n f = staticmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\n\nStatic methods in Python are similar to those found in Java or C++.\nFor a more advanced concept, see the classmethod builtin."}, {"snippet": "StopIteration$0", "rightLabel": "", "type": "builtin", "description": "Signal the end from iterator.next()."}, {"snippet": "str$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "subprocess$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "sum$0", "rightLabel": "", "type": "builtin", "description": "sum(sequence[, start]) -> value\n\nReturn the sum of a sequence of numbers (NOT strings) plus the value\nof parameter 'start' (which defaults to 0). When the sequence is\nempty, return start."}, {"snippet": "super$0", "rightLabel": "", "type": "builtin", "description": "super(type, obj) -> bound super object; requires isinstance(obj, type)\nsuper(type) -> unbound super object\nsuper(type, type2) -> bound super object; requires issubclass(type2, type)\nTypical use to call a cooperative superclass method:\nclass C(B):\n def meth(self, arg):\n super(C, self).meth(arg)"}, {"snippet": "SyntaxError$0", "rightLabel": "", "type": "builtin", "description": "Invalid syntax."}, {"snippet": "SyntaxWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious syntax."}, {"snippet": "SystemError$0", "rightLabel": "", "type": "builtin", "description": "Internal error in the Python interpreter.\n\nPlease report this to the Python maintainer, along with the traceback,\nthe Python version, and the hardware/OS platform and version."}, {"snippet": "SystemExit$0", "rightLabel": "", "type": "builtin", "description": "Request to exit from the interpreter."}, {"snippet": "TabError$0", "rightLabel": "", "type": "builtin", "description": "Improper mixture of spaces and tabs."}, {"snippet": "True$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "try$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "tuple$0", "rightLabel": "", "type": "builtin", "description": "tuple() -> empty tuple\ntuple(iterable) -> tuple initialized from iterable's items\n\nIf the argument is a tuple, the return value is the same object."}, {"snippet": "type$0", "rightLabel": "", "type": "builtin", "description": "type(object) -> the object's type\ntype(name, bases, dict) -> a new type"}, {"snippet": "TypeError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument type."}, {"snippet": "UnboundLocalError$0", "rightLabel": "", "type": "builtin", "description": "Local name referenced but not bound to a value."}, {"snippet": "unichr$0", "rightLabel": "", "type": "builtin", "description": "unichr(i) -> Unicode character\n\nReturn a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff."}, {"snippet": "unicode$0", "rightLabel": "", "type": "builtin", "description": "unicode(object='') -> unicode object\nunicode(string[, encoding[, errors]]) -> unicode object\n\nCreate a new Unicode object from the given encoded string.\nencoding defaults to the current default string encoding.\nerrors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'."}, {"snippet": "UnicodeDecodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode decoding error."}, {"snippet": "UnicodeEncodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode encoding error."}, {"snippet": "UnicodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode related error."}, {"snippet": "UnicodeTranslateError$0", "rightLabel": "", "type": "builtin", "description": "Unicode translation error."}, {"snippet": "UnicodeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about Unicode related problems, mostly\nrelated to conversion problems."}, {"snippet": "UserWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings generated by user code."}, {"snippet": "ValueError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument value (of correct type)."}, {"snippet": "vars$0", "rightLabel": "", "type": "builtin", "description": "vars([object]) -> dictionary\n\nWithout arguments, equivalent to locals().\nWith an argument, equivalent to object.__dict__."}, {"snippet": "Warning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warning categories."}, {"snippet": "while$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "with$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "xrange$0", "rightLabel": "", "type": "builtin", "description": "xrange(stop) -> xrange object\nxrange(start, stop[, step]) -> xrange object\n\nLike range(), but instead of returning a list, returns an object that\ngenerates the numbers in the range on demand. For looping, this is \nslightly faster than range() and more memory efficient."}, {"snippet": "yield$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ZeroDivisionError$0", "rightLabel": "", "type": "builtin", "description": "Second argument to a division or modulo operation was zero."}, {"snippet": "zip$0", "rightLabel": "", "type": "builtin", "description": "zip(seq1 [, seq2 [...]]) -> [(seq1[0], seq2[0] ...), (...)]\n\nReturn a list of tuples, where each tuple contains the i-th element\nfrom each of the argument sequences. The returned list is truncated\nin length to the length of the shortest argument sequence."}, {"snippet": "__debug__$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "__doc__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__file__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__import__$0", "rightLabel": "", "type": "builtin", "description": "__import__(name, globals={}, locals={}, fromlist=[], level=-1) -> module\n\nImport a module. Because this function is meant for use by the Python\ninterpreter and not for general use it is better to use\nimportlib.import_module() to programmatically import a module.\n\nThe globals argument is only used to determine the context;\nthey are not modified. The locals argument is unused. The fromlist\nshould be a list of names to emulate ``from name import ...'', or an\nempty list to emulate ``import name''.\nWhen importing a module from a package, note that __import__('A.B', ...)\nreturns package A when fromlist is empty, but its submodule B when\nfromlist is not empty. Level is used to determine whether to perform \nabsolute or relative imports. -1 is the original strategy of attempting\nboth absolute and relative imports, 0 is absolute, a positive number\nis the number of parent directories to search relative to the current module."}, {"snippet": "__name__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__package__$0", "rightLabel": "", "type": "builtin", "description": ""}]}
Got 1 lines
Pending requests: Object {}
Deserealizing response from Jedi {"id": "05414897464d6cb52d1cf79c1d11d82d", "results": [{"snippet": "abs$0", "rightLabel": "", "type": "builtin", "description": "abs(number) -> number\n\nReturn the absolute value of the argument."}, {"snippet": "all$0", "rightLabel": "", "type": "builtin", "description": "all(iterable) -> bool\n\nReturn True if bool(x) is True for all values x in the iterable.\nIf the iterable is empty, return True."}, {"snippet": "and$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "any$0", "rightLabel": "", "type": "builtin", "description": "any(iterable) -> bool\n\nReturn True if bool(x) is True for any x in the iterable.\nIf the iterable is empty, return False."}, {"snippet": "apply$0", "rightLabel": "", "type": "builtin", "description": "apply(object[, args[, kwargs]]) -> value\n\nCall a callable object with positional arguments taken from the tuple args,\nand keyword arguments taken from the optional dictionary kwargs.\nNote that classes are callable, as are instances with a __call__() method.\n\nDeprecated since release 2.3. Instead, use the extended call syntax:\n function(*args, **keywords)."}, {"snippet": "ArithmeticError$0", "rightLabel": "", "type": "builtin", "description": "Base class for arithmetic errors."}, {"snippet": "as$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "assert$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "AssertionError$0", "rightLabel": "", "type": "builtin", "description": "Assertion failed."}, {"snippet": "AttributeError$0", "rightLabel": "", "type": "builtin", "description": "Attribute not found."}, {"snippet": "BaseException$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all exceptions"}, {"snippet": "basestring$0", "rightLabel": "", "type": "builtin", "description": "Type basestring cannot be instantiated; it is the base for str and unicode."}, {"snippet": "bin$0", "rightLabel": "", "type": "builtin", "description": "bin(number) -> string\n\nReturn the binary representation of an integer or long integer."}, {"snippet": "bool$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "break$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "buffer$0", "rightLabel": "", "type": "builtin", "description": "buffer(object [, offset[, size]])\n\nCreate a new buffer object which references the given object.\nThe buffer will reference a slice of the target object from the\nstart of the object (or at the specified offset). The slice will\nextend to the end of the target object (or with the specified size)."}, {"snippet": "BufferError$0", "rightLabel": "", "type": "builtin", "description": "Buffer error."}, {"snippet": "bytearray$0", "rightLabel": "", "type": "builtin", "description": "bytearray(iterable_of_ints) -> bytearray.\nbytearray(string, encoding[, errors]) -> bytearray.\nbytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray.\nbytearray(memory_view) -> bytearray.\n\nConstruct an mutable bytearray object from:\n - an iterable yielding integers in range(256)\n - a text string encoded using the specified encoding\n - a bytes or a bytearray object\n - any object implementing the buffer API.\n\nbytearray(int) -> bytearray.\n\nConstruct a zero-initialized bytearray of the given length."}, {"snippet": "bytes$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "BytesWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about bytes and buffer related problems, mostly\nrelated to conversion from str or comparing to str."}, {"snippet": "callable$0", "rightLabel": "", "type": "builtin", "description": "callable(object) -> bool\n\nReturn whether the object is callable (i.e., some kind of function).\nNote that classes are callable, as are instances with a __call__() method."}, {"snippet": "chr$0", "rightLabel": "", "type": "builtin", "description": "chr(i) -> character\n\nReturn a string of one character with ordinal i; 0 <= i < 256."}, {"snippet": "class$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "classmethod$0", "rightLabel": "", "type": "builtin", "description": "classmethod(function) -> method\n\nConvert a function to be a class method.\n\nA class method receives the class as implicit first argument,\njust like an instance method receives the instance.\nTo declare a class method, use this idiom:\n\n class C:\n def f(cls, arg1, arg2, ...): ...\n f = classmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\nIf a class method is called for a derived class, the derived class\nobject is passed as the implied first argument.\n\nClass methods are different than C++ or Java static methods.\nIf you want those, see the staticmethod builtin."}, {"snippet": "cmp$0", "rightLabel": "", "type": "builtin", "description": "cmp(x, y) -> integer\n\nReturn negative if x<y, zero if x==y, positive if x>y."}, {"snippet": "coerce$0", "rightLabel": "", "type": "builtin", "description": "coerce(x, y) -> (x1, y1)\n\nReturn a tuple consisting of the two numeric arguments converted to\na common type, using the same rules as used by arithmetic operations.\nIf coercion is not possible, raise TypeError."}, {"snippet": "compile$0", "rightLabel": "", "type": "builtin", "description": "compile(source, filename, mode[, flags[, dont_inherit]]) -> code object\n\nCompile the source string (a Python module, statement or expression)\ninto a code object that can be executed by the exec statement or eval().\nThe filename will be used for run-time error messages.\nThe mode must be 'exec' to compile a module, 'single' to compile a\nsingle (interactive) statement, or 'eval' to compile an expression.\nThe flags argument, if present, controls which future statements influence\nthe compilation of the code.\nThe dont_inherit argument, if non-zero, stops the compilation inheriting\nthe effects of any future statements in effect in the code calling\ncompile; if absent or zero these statements do influence the compilation,\nin addition to any features explicitly specified."}, {"snippet": "complex$0", "rightLabel": "", "type": "builtin", "description": "complex(real[, imag]) -> complex number\n\nCreate a complex number from a real part and an optional imaginary part.\nThis is equivalent to (real + imag*1j) where imag defaults to 0."}, {"snippet": "continue$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "copyright$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "credits$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "def$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "del$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "delattr$0", "rightLabel": "", "type": "builtin", "description": "delattr(object, name)\n\nDelete a named attribute on an object; delattr(x, 'y') is equivalent to\n``del x.y''."}, {"snippet": "DeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about deprecated features."}, {"snippet": "dict$0", "rightLabel": "", "type": "builtin", "description": "dict() -> new empty dictionary\ndict(mapping) -> new dictionary initialized from a mapping object's\n (key, value) pairs\ndict(iterable) -> new dictionary initialized as if via:\n d = {}\n for k, v in iterable:\n d[k] = v\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\n in the keyword argument list. For example: dict(one=1, two=2)"}, {"snippet": "dir$0", "rightLabel": "", "type": "builtin", "description": "dir([object]) -> list of strings\n\nIf called without an argument, return the names in the current scope.\nElse, return an alphabetized list of names comprising (some of) the attributes\nof the given object, and of attributes reachable from it.\nIf the object supplies a method named __dir__, it will be used; otherwise\nthe default dir() logic is used and returns:\n for a module object: the module's attributes.\n for a class object: its attributes, and recursively the attributes\n of its bases.\n for any other object: its attributes, its class's attributes, and\n recursively the attributes of its class's base classes."}, {"snippet": "divmod$0", "rightLabel": "", "type": "builtin", "description": "divmod(x, y) -> (quotient, remainder)\n\nReturn the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x."}, {"snippet": "elif$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Ellipsis$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "else$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "enumerate$0", "rightLabel": "", "type": "builtin", "description": "enumerate(iterable[, start]) -> iterator for index, value of iterable\n\nReturn an enumerate object. iterable must be another object that supports\niteration. The enumerate object yields pairs containing a count (from\nstart, which defaults to zero) and a value yielded by the iterable argument.\nenumerate is useful for obtaining an indexed list:\n (0, seq[0]), (1, seq[1]), (2, seq[2]), ..."}, {"snippet": "EnvironmentError$0", "rightLabel": "", "type": "builtin", "description": "Base class for I/O related errors."}, {"snippet": "EOFError$0", "rightLabel": "", "type": "builtin", "description": "Read beyond end of file."}, {"snippet": "eval$0", "rightLabel": "", "type": "builtin", "description": "eval(source[, globals[, locals]]) -> value\n\nEvaluate the source in the context of globals and locals.\nThe source may be a string representing a Python expression\nor a code object as returned by compile().\nThe globals must be a dictionary and locals can be any mapping,\ndefaulting to the current globals and locals.\nIf only globals is given, locals defaults to it."}, {"snippet": "except$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Exception$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all non-exit exceptions."}, {"snippet": "exec$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "execfile$0", "rightLabel": "", "type": "builtin", "description": "execfile(filename[, globals[, locals]])\n\nRead and execute a Python script from a file.\nThe globals and locals are dictionaries, defaulting to the current\nglobals and locals. If only globals is given, locals defaults to it."}, {"snippet": "exit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "False$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "file$0", "rightLabel": "", "type": "builtin", "description": "file(name[, mode[, buffering]]) -> file object\n\nOpen a file. The mode can be 'r', 'w' or 'a' for reading (default),\nwriting or appending. The file will be created if it doesn't exist\nwhen opened for writing or appending; it will be truncated when\nopened for writing. Add a 'b' to the mode for binary files.\nAdd a '+' to the mode to allow simultaneous reading and writing.\nIf the buffering argument is given, 0 means unbuffered, 1 means line\nbuffered, and larger numbers specify the buffer size. The preferred way\nto open a file is with the builtin open() function.\nAdd a 'U' to mode to open the file for input with universal newline\nsupport. Any line ending in the input file will be seen as a '\\n'\nin Python. Also, a file so opened gains the attribute 'newlines';\nthe value for this attribute is one of None (no newline read yet),\n'\\r', '\\n', '\\r\\n' or a tuple containing all the newline types seen.\n\n'U' cannot be combined with 'w' or '+' mode."}, {"snippet": "filter$0", "rightLabel": "", "type": "builtin", "description": "filter(function or None, sequence) -> list, tuple, or string\n\nReturn those items of sequence for which function(item) is true. If\nfunction is None, return the items that are true. If sequence is a tuple\nor string, return the same type, else return a list."}, {"snippet": "finally$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "float$0", "rightLabel": "", "type": "builtin", "description": "float(x) -> floating point number\n\nConvert a string or number to a floating point number, if possible."}, {"snippet": "FloatingPointError$0", "rightLabel": "", "type": "builtin", "description": "Floating point operation failed."}, {"snippet": "for$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "format$0", "rightLabel": "", "type": "builtin", "description": "format(value[, format_spec]) -> string\n\nReturns value.__format__(format_spec)\nformat_spec defaults to \"\""}, {"snippet": "from$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "frozenset$0", "rightLabel": "", "type": "builtin", "description": "frozenset() -> empty frozenset object\nfrozenset(iterable) -> frozenset object\n\nBuild an immutable unordered collection of unique elements."}, {"snippet": "FutureWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about constructs that will change semantically\nin the future."}, {"snippet": "GeneratorExit$0", "rightLabel": "", "type": "builtin", "description": "Request that a generator exit."}, {"snippet": "getattr$0", "rightLabel": "", "type": "builtin", "description": "getattr(object, name[, default]) -> value\n\nGet a named attribute from an object; getattr(x, 'y') is equivalent to x.y.\nWhen a default argument is given, it is returned when the attribute doesn't\nexist; without it, an exception is raised in that case."}, {"snippet": "global$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "globals$0", "rightLabel": "", "type": "builtin", "description": "globals() -> dictionary\n\nReturn the dictionary containing the current scope's global variables."}, {"snippet": "hasattr$0", "rightLabel": "", "type": "builtin", "description": "hasattr(object, name) -> bool\n\nReturn whether the object has an attribute with the given name.\n(This is done by calling getattr(object, name) and catching exceptions.)"}, {"snippet": "hash$0", "rightLabel": "", "type": "builtin", "description": "hash(object) -> integer\n\nReturn a hash value for the object. Two objects with the same value have\nthe same hash value. The reverse is not necessarily true, but likely."}, {"snippet": "help$0", "rightLabel": "", "type": "builtin", "description": "Define the builtin 'help'.\nThis is a wrapper around pydoc.help (with a twist)."}, {"snippet": "hex$0", "rightLabel": "", "type": "builtin", "description": "hex(number) -> string\n\nReturn the hexadecimal representation of an integer or long integer."}, {"snippet": "id$0", "rightLabel": "", "type": "builtin", "description": "id(object) -> integer\n\nReturn the identity of an object. This is guaranteed to be unique among\nsimultaneously existing objects. (Hint: it's the object's memory address.)"}, {"snippet": "if$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "import$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ImportError$0", "rightLabel": "", "type": "builtin", "description": "Import can't find module, or can't find name in module."}, {"snippet": "ImportWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about probable mistakes in module imports"}, {"snippet": "in$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "IndentationError$0", "rightLabel": "", "type": "builtin", "description": "Improper indentation."}, {"snippet": "IndexError$0", "rightLabel": "", "type": "builtin", "description": "Sequence index out of range."}, {"snippet": "input$0", "rightLabel": "", "type": "builtin", "description": "input([prompt]) -> value\n\nEquivalent to eval(raw_input(prompt))."}, {"snippet": "int$0", "rightLabel": "", "type": "builtin", "description": "int(x=0) -> int or long\nint(x, base=10) -> int or long\n\nConvert a number or string to an integer, or return 0 if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\nIf x is outside the integer range, the function returns a long instead.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4"}, {"snippet": "intern$0", "rightLabel": "", "type": "builtin", "description": "intern(string) -> string\n\n``Intern'' the given string. This enters the string in the (global)\ntable of interned strings whose purpose is to speed up dictionary lookups.\nReturn the string itself or the previously interned string object with the\nsame value."}, {"snippet": "IOError$0", "rightLabel": "", "type": "builtin", "description": "I/O operation failed."}, {"snippet": "is$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "isinstance$0", "rightLabel": "", "type": "builtin", "description": "isinstance(object, class-or-type-or-tuple) -> bool\n\nReturn whether an object is an instance of a class or of a subclass thereof.\nWith a type as second argument, return whether that is the object's type.\nThe form using a tuple, isinstance(x, (A, B, ...)), is a shortcut for\nisinstance(x, A) or isinstance(x, B) or ... (etc.)."}, {"snippet": "issubclass$0", "rightLabel": "", "type": "builtin", "description": "issubclass(C, B) -> bool\n\nReturn whether class C is a subclass (i.e., a derived class) of class B.\nWhen using a tuple as the second argument issubclass(X, (A, B, ...)),\nis a shortcut for issubclass(X, A) or issubclass(X, B) or ... (etc.)."}, {"snippet": "iter$0", "rightLabel": "", "type": "builtin", "description": "iter(collection, sentinel=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "KeyboardInterrupt$0", "rightLabel": "", "type": "builtin", "description": "Program interrupted by user."}, {"snippet": "KeyError$0", "rightLabel": "", "type": "builtin", "description": "Mapping key not found."}, {"snippet": "lambda$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "len$0", "rightLabel": "", "type": "builtin", "description": "len(object) -> integer\n\nReturn the number of items of a sequence or collection."}, {"snippet": "license$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "list$0", "rightLabel": "", "type": "builtin", "description": "list() -> new empty list\nlist(iterable) -> new list initialized from iterable's items"}, {"snippet": "locals$0", "rightLabel": "", "type": "builtin", "description": "locals() -> dictionary\n\nUpdate and return a dictionary containing the current scope's local variables."}, {"snippet": "long$0", "rightLabel": "", "type": "builtin", "description": "long(x=0) -> long\nlong(x, base=10) -> long\n\nConvert a number or string to a long integer, or return 0L if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4L"}, {"snippet": "LookupError$0", "rightLabel": "", "type": "builtin", "description": "Base class for lookup errors."}, {"snippet": "map$0", "rightLabel": "", "type": "builtin", "description": "map(function, sequence[, sequence, ...]) -> list\n\nReturn a list of the results of applying the function to the items of\nthe argument sequence(s). If more than one sequence is given, the\nfunction is called with an argument list consisting of the corresponding\nitem of each sequence, substituting None for missing values when not all\nsequences have the same length. If the function is None, return a list of\nthe items of the sequence (or a list of tuples if more than one sequence)."}, {"snippet": "max$0", "rightLabel": "", "type": "builtin", "description": "max(iterable[, key=func]) -> value\nmax(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its largest item.\nWith two or more arguments, return the largest argument."}, {"snippet": "MemoryError$0", "rightLabel": "", "type": "builtin", "description": "Out of memory."}, {"snippet": "memoryview$0", "rightLabel": "", "type": "builtin", "description": "memoryview(object)\n\nCreate a new memoryview object which references the given object."}, {"snippet": "min$0", "rightLabel": "", "type": "builtin", "description": "min(iterable[, key=func]) -> value\nmin(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its smallest item.\nWith two or more arguments, return the smallest argument."}, {"snippet": "NameError$0", "rightLabel": "", "type": "builtin", "description": "Name not found globally."}, {"snippet": "next$0", "rightLabel": "", "type": "builtin", "description": "next(iterator, default=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "None$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "not$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "NotImplemented$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "NotImplementedError$0", "rightLabel": "", "type": "builtin", "description": "Method or function hasn't been implemented yet."}, {"snippet": "object$0", "rightLabel": "", "type": "builtin", "description": "The most base type"}, {"snippet": "oct$0", "rightLabel": "", "type": "builtin", "description": "oct(number) -> string\n\nReturn the octal representation of an integer or long integer."}, {"snippet": "open$0", "rightLabel": "", "type": "builtin", "description": "open(name, mode=None, buffering=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "or$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ord$0", "rightLabel": "", "type": "builtin", "description": "ord(c) -> integer\n\nReturn the integer ordinal of a one-character string."}, {"snippet": "OSError$0", "rightLabel": "", "type": "builtin", "description": "OS system call failed."}, {"snippet": "OverflowError$0", "rightLabel": "", "type": "builtin", "description": "Result too large to be represented."}, {"snippet": "pass$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "PendingDeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about features which will be deprecated\nin the future."}, {"snippet": "pow$0", "rightLabel": "", "type": "builtin", "description": "pow(x, y[, z]) -> number\n\nWith two arguments, equivalent to x**y. With three arguments,\nequivalent to (x**y) % z, but may be more efficient (e.g. for longs)."}, {"snippet": "print$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "property$0", "rightLabel": "", "type": "builtin", "description": "property(fget=None, fset=None, fdel=None, doc=None) -> property attribute\n\nfget is a function to be used for getting an attribute value, and likewise\nfset is a function for setting, and fdel a function for del'ing, an\nattribute. Typical use is to define a managed attribute x:\n\nclass C(object):\n def getx(self): return self._x\n def setx(self, value): self._x = value\n def delx(self): del self._x\n x = property(getx, setx, delx, \"I'm the 'x' property.\")\n\nDecorators make defining new properties or modifying existing ones easy:\n\nclass C(object):\n @property\n def x(self):\n \"I am the 'x' property.\"\n return self._x\n @x.setter\n def x(self, value):\n self._x = value\n @x.deleter\n def x(self):\n del self._x"}, {"snippet": "quit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "raise$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "range$0", "rightLabel": "", "type": "builtin", "description": "range(start, stop=None, step=1)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "raw_input$0", "rightLabel": "", "type": "builtin", "description": "raw_input([prompt]) -> string\n\nRead a string from standard input. The trailing newline is stripped.\nIf the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.\nOn Unix, GNU readline is used if enabled. The prompt string, if given,\nis printed without a trailing newline before reading."}, {"snippet": "reduce$0", "rightLabel": "", "type": "builtin", "description": "reduce(function, sequence[, initial]) -> value\n\nApply a function of two arguments cumulatively to the items of a sequence,\nfrom left to right, so as to reduce the sequence to a single value.\nFor example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates\n((((1+2)+3)+4)+5). If initial is present, it is placed before the items\nof the sequence in the calculation, and serves as a default when the\nsequence is empty."}, {"snippet": "ReferenceError$0", "rightLabel": "", "type": "builtin", "description": "Weak ref proxy used after referent went away."}, {"snippet": "reload$0", "rightLabel": "", "type": "builtin", "description": "reload(module) -> module\n\nReload the module. The module must have been successfully imported before."}, {"snippet": "repr$0", "rightLabel": "", "type": "builtin", "description": "repr(object) -> string\n\nReturn the canonical string representation of the object.\nFor most object types, eval(repr(object)) == object."}, {"snippet": "return$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "reversed$0", "rightLabel": "", "type": "builtin", "description": "reversed(sequence) -> reverse iterator over values of the sequence\n\nReturn a reverse iterator"}, {"snippet": "round$0", "rightLabel": "", "type": "builtin", "description": "round(number[, ndigits]) -> floating point number\n\nRound a number to a given precision in decimal digits (default 0 digits).\nThis always returns a floating point number. Precision may be negative."}, {"snippet": "RuntimeError$0", "rightLabel": "", "type": "builtin", "description": "Unspecified run-time error."}, {"snippet": "RuntimeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious runtime behavior."}, {"snippet": "set$0", "rightLabel": "", "type": "builtin", "description": "set() -> new empty set object\nset(iterable) -> new set object\n\nBuild an unordered collection of unique elements."}, {"snippet": "setattr$0", "rightLabel": "", "type": "builtin", "description": "setattr(object, name, value)\n\nSet a named attribute on an object; setattr(x, 'y', v) is equivalent to\n``x.y = v''."}, {"snippet": "slice$0", "rightLabel": "", "type": "builtin", "description": "slice(stop)\nslice(start, stop[, step])\n\nCreate a slice object. This is used for extended slicing (e.g. a[0:10:2])."}, {"snippet": "sorted$0", "rightLabel": "", "type": "builtin", "description": "sorted(iterable, cmp=None, key=None, reverse=False)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "StandardError$0", "rightLabel": "", "type": "builtin", "description": "Base class for all standard Python exceptions that do not represent\ninterpreter exiting."}, {"snippet": "staticmethod$0", "rightLabel": "", "type": "builtin", "description": "staticmethod(function) -> method\n\nConvert a function to be a static method.\n\nA static method does not receive an implicit first argument.\nTo declare a static method, use this idiom:\n\n class C:\n def f(arg1, arg2, ...): ...\n f = staticmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\n\nStatic methods in Python are similar to those found in Java or C++.\nFor a more advanced concept, see the classmethod builtin."}, {"snippet": "StopIteration$0", "rightLabel": "", "type": "builtin", "description": "Signal the end from iterator.next()."}, {"snippet": "str$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "subprocess$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "sum$0", "rightLabel": "", "type": "builtin", "description": "sum(sequence[, start]) -> value\n\nReturn the sum of a sequence of numbers (NOT strings) plus the value\nof parameter 'start' (which defaults to 0). When the sequence is\nempty, return start."}, {"snippet": "super$0", "rightLabel": "", "type": "builtin", "description": "super(type, obj) -> bound super object; requires isinstance(obj, type)\nsuper(type) -> unbound super object\nsuper(type, type2) -> bound super object; requires issubclass(type2, type)\nTypical use to call a cooperative superclass method:\nclass C(B):\n def meth(self, arg):\n super(C, self).meth(arg)"}, {"snippet": "SyntaxError$0", "rightLabel": "", "type": "builtin", "description": "Invalid syntax."}, {"snippet": "SyntaxWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious syntax."}, {"snippet": "SystemError$0", "rightLabel": "", "type": "builtin", "description": "Internal error in the Python interpreter.\n\nPlease report this to the Python maintainer, along with the traceback,\nthe Python version, and the hardware/OS platform and version."}, {"snippet": "SystemExit$0", "rightLabel": "", "type": "builtin", "description": "Request to exit from the interpreter."}, {"snippet": "TabError$0", "rightLabel": "", "type": "builtin", "description": "Improper mixture of spaces and tabs."}, {"snippet": "True$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "try$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "tuple$0", "rightLabel": "", "type": "builtin", "description": "tuple() -> empty tuple\ntuple(iterable) -> tuple initialized from iterable's items\n\nIf the argument is a tuple, the return value is the same object."}, {"snippet": "type$0", "rightLabel": "", "type": "builtin", "description": "type(object) -> the object's type\ntype(name, bases, dict) -> a new type"}, {"snippet": "TypeError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument type."}, {"snippet": "UnboundLocalError$0", "rightLabel": "", "type": "builtin", "description": "Local name referenced but not bound to a value."}, {"snippet": "unichr$0", "rightLabel": "", "type": "builtin", "description": "unichr(i) -> Unicode character\n\nReturn a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff."}, {"snippet": "unicode$0", "rightLabel": "", "type": "builtin", "description": "unicode(object='') -> unicode object\nunicode(string[, encoding[, errors]]) -> unicode object\n\nCreate a new Unicode object from the given encoded string.\nencoding defaults to the current default string encoding.\nerrors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'."}, {"snippet": "UnicodeDecodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode decoding error."}, {"snippet": "UnicodeEncodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode encoding error."}, {"snippet": "UnicodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode related error."}, {"snippet": "UnicodeTranslateError$0", "rightLabel": "", "type": "builtin", "description": "Unicode translation error."}, {"snippet": "UnicodeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about Unicode related problems, mostly\nrelated to conversion problems."}, {"snippet": "UserWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings generated by user code."}, {"snippet": "ValueError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument value (of correct type)."}, {"snippet": "vars$0", "rightLabel": "", "type": "builtin", "description": "vars([object]) -> dictionary\n\nWithout arguments, equivalent to locals().\nWith an argument, equivalent to object.__dict__."}, {"snippet": "Warning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warning categories."}, {"snippet": "while$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "with$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "xrange$0", "rightLabel": "", "type": "builtin", "description": "xrange(stop) -> xrange object\nxrange(start, stop[, step]) -> xrange object\n\nLike range(), but instead of returning a list, returns an object that\ngenerates the numbers in the range on demand. For looping, this is \nslightly faster than range() and more memory efficient."}, {"snippet": "yield$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ZeroDivisionError$0", "rightLabel": "", "type": "builtin", "description": "Second argument to a division or modulo operation was zero."}, {"snippet": "zip$0", "rightLabel": "", "type": "builtin", "description": "zip(seq1 [, seq2 [...]]) -> [(seq1[0], seq2[0] ...), (...)]\n\nReturn a list of tuples, where each tuple contains the i-th element\nfrom each of the argument sequences. The returned list is truncated\nin length to the length of the shortest argument sequence."}, {"snippet": "__debug__$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "__doc__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__file__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__import__$0", "rightLabel": "", "type": "builtin", "description": "__import__(name, globals={}, locals={}, fromlist=[], level=-1) -> module\n\nImport a module. Because this function is meant for use by the Python\ninterpreter and not for general use it is better to use\nimportlib.import_module() to programmatically import a module.\n\nThe globals argument is only used to determine the context;\nthey are not modified. The locals argument is unused. The fromlist\nshould be a list of names to emulate ``from name import ...'', or an\nempty list to emulate ``import name''.\nWhen importing a module from a package, note that __import__('A.B', ...)\nreturns package A when fromlist is empty, but its submodule B when\nfromlist is not empty. Level is used to determine whether to perform \nabsolute or relative imports. -1 is the original strategy of attempting\nboth absolute and relative imports, 0 is absolute, a positive number\nis the number of parent directories to search relative to the current module."}, {"snippet": "__name__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__package__$0", "rightLabel": "", "type": "builtin", "description": ""}]}
Got 1 lines
Pending requests: Object {}
Deserealizing response from Jedi {"id": "18311eb1b340a90010a195c6232cdd27", "results": [{"snippet": "abs$0", "rightLabel": "", "type": "builtin", "description": "abs(number) -> number\n\nReturn the absolute value of the argument."}, {"snippet": "all$0", "rightLabel": "", "type": "builtin", "description": "all(iterable) -> bool\n\nReturn True if bool(x) is True for all values x in the iterable.\nIf the iterable is empty, return True."}, {"snippet": "and$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "any$0", "rightLabel": "", "type": "builtin", "description": "any(iterable) -> bool\n\nReturn True if bool(x) is True for any x in the iterable.\nIf the iterable is empty, return False."}, {"snippet": "apply$0", "rightLabel": "", "type": "builtin", "description": "apply(object[, args[, kwargs]]) -> value\n\nCall a callable object with positional arguments taken from the tuple args,\nand keyword arguments taken from the optional dictionary kwargs.\nNote that classes are callable, as are instances with a __call__() method.\n\nDeprecated since release 2.3. Instead, use the extended call syntax:\n function(*args, **keywords)."}, {"snippet": "ArithmeticError$0", "rightLabel": "", "type": "builtin", "description": "Base class for arithmetic errors."}, {"snippet": "as$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "assert$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "AssertionError$0", "rightLabel": "", "type": "builtin", "description": "Assertion failed."}, {"snippet": "AttributeError$0", "rightLabel": "", "type": "builtin", "description": "Attribute not found."}, {"snippet": "BaseException$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all exceptions"}, {"snippet": "basestring$0", "rightLabel": "", "type": "builtin", "description": "Type basestring cannot be instantiated; it is the base for str and unicode."}, {"snippet": "bin$0", "rightLabel": "", "type": "builtin", "description": "bin(number) -> string\n\nReturn the binary representation of an integer or long integer."}, {"snippet": "bool$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "break$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "buffer$0", "rightLabel": "", "type": "builtin", "description": "buffer(object [, offset[, size]])\n\nCreate a new buffer object which references the given object.\nThe buffer will reference a slice of the target object from the\nstart of the object (or at the specified offset). The slice will\nextend to the end of the target object (or with the specified size)."}, {"snippet": "BufferError$0", "rightLabel": "", "type": "builtin", "description": "Buffer error."}, {"snippet": "bytearray$0", "rightLabel": "", "type": "builtin", "description": "bytearray(iterable_of_ints) -> bytearray.\nbytearray(string, encoding[, errors]) -> bytearray.\nbytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray.\nbytearray(memory_view) -> bytearray.\n\nConstruct an mutable bytearray object from:\n - an iterable yielding integers in range(256)\n - a text string encoded using the specified encoding\n - a bytes or a bytearray object\n - any object implementing the buffer API.\n\nbytearray(int) -> bytearray.\n\nConstruct a zero-initialized bytearray of the given length."}, {"snippet": "bytes$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "BytesWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about bytes and buffer related problems, mostly\nrelated to conversion from str or comparing to str."}, {"snippet": "callable$0", "rightLabel": "", "type": "builtin", "description": "callable(object) -> bool\n\nReturn whether the object is callable (i.e., some kind of function).\nNote that classes are callable, as are instances with a __call__() method."}, {"snippet": "chr$0", "rightLabel": "", "type": "builtin", "description": "chr(i) -> character\n\nReturn a string of one character with ordinal i; 0 <= i < 256."}, {"snippet": "class$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "classmethod$0", "rightLabel": "", "type": "builtin", "description": "classmethod(function) -> method\n\nConvert a function to be a class method.\n\nA class method receives the class as implicit first argument,\njust like an instance method receives the instance.\nTo declare a class method, use this idiom:\n\n class C:\n def f(cls, arg1, arg2, ...): ...\n f = classmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\nIf a class method is called for a derived class, the derived class\nobject is passed as the implied first argument.\n\nClass methods are different than C++ or Java static methods.\nIf you want those, see the staticmethod builtin."}, {"snippet": "cmp$0", "rightLabel": "", "type": "builtin", "description": "cmp(x, y) -> integer\n\nReturn negative if x<y, zero if x==y, positive if x>y."}, {"snippet": "coerce$0", "rightLabel": "", "type": "builtin", "description": "coerce(x, y) -> (x1, y1)\n\nReturn a tuple consisting of the two numeric arguments converted to\na common type, using the same rules as used by arithmetic operations.\nIf coercion is not possible, raise TypeError."}, {"snippet": "compile$0", "rightLabel": "", "type": "builtin", "description": "compile(source, filename, mode[, flags[, dont_inherit]]) -> code object\n\nCompile the source string (a Python module, statement or expression)\ninto a code object that can be executed by the exec statement or eval().\nThe filename will be used for run-time error messages.\nThe mode must be 'exec' to compile a module, 'single' to compile a\nsingle (interactive) statement, or 'eval' to compile an expression.\nThe flags argument, if present, controls which future statements influence\nthe compilation of the code.\nThe dont_inherit argument, if non-zero, stops the compilation inheriting\nthe effects of any future statements in effect in the code calling\ncompile; if absent or zero these statements do influence the compilation,\nin addition to any features explicitly specified."}, {"snippet": "complex$0", "rightLabel": "", "type": "builtin", "description": "complex(real[, imag]) -> complex number\n\nCreate a complex number from a real part and an optional imaginary part.\nThis is equivalent to (real + imag*1j) where imag defaults to 0."}, {"snippet": "continue$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "copyright$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "credits$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "def$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "del$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "delattr$0", "rightLabel": "", "type": "builtin", "description": "delattr(object, name)\n\nDelete a named attribute on an object; delattr(x, 'y') is equivalent to\n``del x.y''."}, {"snippet": "DeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about deprecated features."}, {"snippet": "dict$0", "rightLabel": "", "type": "builtin", "description": "dict() -> new empty dictionary\ndict(mapping) -> new dictionary initialized from a mapping object's\n (key, value) pairs\ndict(iterable) -> new dictionary initialized as if via:\n d = {}\n for k, v in iterable:\n d[k] = v\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\n in the keyword argument list. For example: dict(one=1, two=2)"}, {"snippet": "dir$0", "rightLabel": "", "type": "builtin", "description": "dir([object]) -> list of strings\n\nIf called without an argument, return the names in the current scope.\nElse, return an alphabetized list of names comprising (some of) the attributes\nof the given object, and of attributes reachable from it.\nIf the object supplies a method named __dir__, it will be used; otherwise\nthe default dir() logic is used and returns:\n for a module object: the module's attributes.\n for a class object: its attributes, and recursively the attributes\n of its bases.\n for any other object: its attributes, its class's attributes, and\n recursively the attributes of its class's base classes."}, {"snippet": "divmod$0", "rightLabel": "", "type": "builtin", "description": "divmod(x, y) -> (quotient, remainder)\n\nReturn the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x."}, {"snippet": "elif$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Ellipsis$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "else$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "enumerate$0", "rightLabel": "", "type": "builtin", "description": "enumerate(iterable[, start]) -> iterator for index, value of iterable\n\nReturn an enumerate object. iterable must be another object that supports\niteration. The enumerate object yields pairs containing a count (from\nstart, which defaults to zero) and a value yielded by the iterable argument.\nenumerate is useful for obtaining an indexed list:\n (0, seq[0]), (1, seq[1]), (2, seq[2]), ..."}, {"snippet": "EnvironmentError$0", "rightLabel": "", "type": "builtin", "description": "Base class for I/O related errors."}, {"snippet": "EOFError$0", "rightLabel": "", "type": "builtin", "description": "Read beyond end of file."}, {"snippet": "eval$0", "rightLabel": "", "type": "builtin", "description": "eval(source[, globals[, locals]]) -> value\n\nEvaluate the source in the context of globals and locals.\nThe source may be a string representing a Python expression\nor a code object as returned by compile().\nThe globals must be a dictionary and locals can be any mapping,\ndefaulting to the current globals and locals.\nIf only globals is given, locals defaults to it."}, {"snippet": "except$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Exception$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all non-exit exceptions."}, {"snippet": "exec$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "execfile$0", "rightLabel": "", "type": "builtin", "description": "execfile(filename[, globals[, locals]])\n\nRead and execute a Python script from a file.\nThe globals and locals are dictionaries, defaulting to the current\nglobals and locals. If only globals is given, locals defaults to it."}, {"snippet": "exit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "False$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "file$0", "rightLabel": "", "type": "builtin", "description": "file(name[, mode[, buffering]]) -> file object\n\nOpen a file. The mode can be 'r', 'w' or 'a' for reading (default),\nwriting or appending. The file will be created if it doesn't exist\nwhen opened for writing or appending; it will be truncated when\nopened for writing. Add a 'b' to the mode for binary files.\nAdd a '+' to the mode to allow simultaneous reading and writing.\nIf the buffering argument is given, 0 means unbuffered, 1 means line\nbuffered, and larger numbers specify the buffer size. The preferred way\nto open a file is with the builtin open() function.\nAdd a 'U' to mode to open the file for input with universal newline\nsupport. Any line ending in the input file will be seen as a '\\n'\nin Python. Also, a file so opened gains the attribute 'newlines';\nthe value for this attribute is one of None (no newline read yet),\n'\\r', '\\n', '\\r\\n' or a tuple containing all the newline types seen.\n\n'U' cannot be combined with 'w' or '+' mode."}, {"snippet": "filter$0", "rightLabel": "", "type": "builtin", "description": "filter(function or None, sequence) -> list, tuple, or string\n\nReturn those items of sequence for which function(item) is true. If\nfunction is None, return the items that are true. If sequence is a tuple\nor string, return the same type, else return a list."}, {"snippet": "finally$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "float$0", "rightLabel": "", "type": "builtin", "description": "float(x) -> floating point number\n\nConvert a string or number to a floating point number, if possible."}, {"snippet": "FloatingPointError$0", "rightLabel": "", "type": "builtin", "description": "Floating point operation failed."}, {"snippet": "for$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "format$0", "rightLabel": "", "type": "builtin", "description": "format(value[, format_spec]) -> string\n\nReturns value.__format__(format_spec)\nformat_spec defaults to \"\""}, {"snippet": "from$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "frozenset$0", "rightLabel": "", "type": "builtin", "description": "frozenset() -> empty frozenset object\nfrozenset(iterable) -> frozenset object\n\nBuild an immutable unordered collection of unique elements."}, {"snippet": "FutureWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about constructs that will change semantically\nin the future."}, {"snippet": "GeneratorExit$0", "rightLabel": "", "type": "builtin", "description": "Request that a generator exit."}, {"snippet": "getattr$0", "rightLabel": "", "type": "builtin", "description": "getattr(object, name[, default]) -> value\n\nGet a named attribute from an object; getattr(x, 'y') is equivalent to x.y.\nWhen a default argument is given, it is returned when the attribute doesn't\nexist; without it, an exception is raised in that case."}, {"snippet": "global$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "globals$0", "rightLabel": "", "type": "builtin", "description": "globals() -> dictionary\n\nReturn the dictionary containing the current scope's global variables."}, {"snippet": "hasattr$0", "rightLabel": "", "type": "builtin", "description": "hasattr(object, name) -> bool\n\nReturn whether the object has an attribute with the given name.\n(This is done by calling getattr(object, name) and catching exceptions.)"}, {"snippet": "hash$0", "rightLabel": "", "type": "builtin", "description": "hash(object) -> integer\n\nReturn a hash value for the object. Two objects with the same value have\nthe same hash value. The reverse is not necessarily true, but likely."}, {"snippet": "help$0", "rightLabel": "", "type": "builtin", "description": "Define the builtin 'help'.\nThis is a wrapper around pydoc.help (with a twist)."}, {"snippet": "hex$0", "rightLabel": "", "type": "builtin", "description": "hex(number) -> string\n\nReturn the hexadecimal representation of an integer or long integer."}, {"snippet": "id$0", "rightLabel": "", "type": "builtin", "description": "id(object) -> integer\n\nReturn the identity of an object. This is guaranteed to be unique among\nsimultaneously existing objects. (Hint: it's the object's memory address.)"}, {"snippet": "if$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "import$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ImportError$0", "rightLabel": "", "type": "builtin", "description": "Import can't find module, or can't find name in module."}, {"snippet": "ImportWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about probable mistakes in module imports"}, {"snippet": "in$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "IndentationError$0", "rightLabel": "", "type": "builtin", "description": "Improper indentation."}, {"snippet": "IndexError$0", "rightLabel": "", "type": "builtin", "description": "Sequence index out of range."}, {"snippet": "input$0", "rightLabel": "", "type": "builtin", "description": "input([prompt]) -> value\n\nEquivalent to eval(raw_input(prompt))."}, {"snippet": "int$0", "rightLabel": "", "type": "builtin", "description": "int(x=0) -> int or long\nint(x, base=10) -> int or long\n\nConvert a number or string to an integer, or return 0 if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\nIf x is outside the integer range, the function returns a long instead.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4"}, {"snippet": "intern$0", "rightLabel": "", "type": "builtin", "description": "intern(string) -> string\n\n``Intern'' the given string. This enters the string in the (global)\ntable of interned strings whose purpose is to speed up dictionary lookups.\nReturn the string itself or the previously interned string object with the\nsame value."}, {"snippet": "IOError$0", "rightLabel": "", "type": "builtin", "description": "I/O operation failed."}, {"snippet": "is$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "isinstance$0", "rightLabel": "", "type": "builtin", "description": "isinstance(object, class-or-type-or-tuple) -> bool\n\nReturn whether an object is an instance of a class or of a subclass thereof.\nWith a type as second argument, return whether that is the object's type.\nThe form using a tuple, isinstance(x, (A, B, ...)), is a shortcut for\nisinstance(x, A) or isinstance(x, B) or ... (etc.)."}, {"snippet": "issubclass$0", "rightLabel": "", "type": "builtin", "description": "issubclass(C, B) -> bool\n\nReturn whether class C is a subclass (i.e., a derived class) of class B.\nWhen using a tuple as the second argument issubclass(X, (A, B, ...)),\nis a shortcut for issubclass(X, A) or issubclass(X, B) or ... (etc.)."}, {"snippet": "iter$0", "rightLabel": "", "type": "builtin", "description": "iter(collection, sentinel=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "KeyboardInterrupt$0", "rightLabel": "", "type": "builtin", "description": "Program interrupted by user."}, {"snippet": "KeyError$0", "rightLabel": "", "type": "builtin", "description": "Mapping key not found."}, {"snippet": "lambda$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "len$0", "rightLabel": "", "type": "builtin", "description": "len(object) -> integer\n\nReturn the number of items of a sequence or collection."}, {"snippet": "license$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "list$0", "rightLabel": "", "type": "builtin", "description": "list() -> new empty list\nlist(iterable) -> new list initialized from iterable's items"}, {"snippet": "locals$0", "rightLabel": "", "type": "builtin", "description": "locals() -> dictionary\n\nUpdate and return a dictionary containing the current scope's local variables."}, {"snippet": "long$0", "rightLabel": "", "type": "builtin", "description": "long(x=0) -> long\nlong(x, base=10) -> long\n\nConvert a number or string to a long integer, or return 0L if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4L"}, {"snippet": "LookupError$0", "rightLabel": "", "type": "builtin", "description": "Base class for lookup errors."}, {"snippet": "map$0", "rightLabel": "", "type": "builtin", "description": "map(function, sequence[, sequence, ...]) -> list\n\nReturn a list of the results of applying the function to the items of\nthe argument sequence(s). If more than one sequence is given, the\nfunction is called with an argument list consisting of the corresponding\nitem of each sequence, substituting None for missing values when not all\nsequences have the same length. If the function is None, return a list of\nthe items of the sequence (or a list of tuples if more than one sequence)."}, {"snippet": "max$0", "rightLabel": "", "type": "builtin", "description": "max(iterable[, key=func]) -> value\nmax(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its largest item.\nWith two or more arguments, return the largest argument."}, {"snippet": "MemoryError$0", "rightLabel": "", "type": "builtin", "description": "Out of memory."}, {"snippet": "memoryview$0", "rightLabel": "", "type": "builtin", "description": "memoryview(object)\n\nCreate a new memoryview object which references the given object."}, {"snippet": "min$0", "rightLabel": "", "type": "builtin", "description": "min(iterable[, key=func]) -> value\nmin(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its smallest item.\nWith two or more arguments, return the smallest argument."}, {"snippet": "NameError$0", "rightLabel": "", "type": "builtin", "description": "Name not found globally."}, {"snippet": "next$0", "rightLabel": "", "type": "builtin", "description": "next(iterator, default=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "None$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "not$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "NotImplemented$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "NotImplementedError$0", "rightLabel": "", "type": "builtin", "description": "Method or function hasn't been implemented yet."}, {"snippet": "object$0", "rightLabel": "", "type": "builtin", "description": "The most base type"}, {"snippet": "oct$0", "rightLabel": "", "type": "builtin", "description": "oct(number) -> string\n\nReturn the octal representation of an integer or long integer."}, {"snippet": "open$0", "rightLabel": "", "type": "builtin", "description": "open(name, mode=None, buffering=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "or$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ord$0", "rightLabel": "", "type": "builtin", "description": "ord(c) -> integer\n\nReturn the integer ordinal of a one-character string."}, {"snippet": "OSError$0", "rightLabel": "", "type": "builtin", "description": "OS system call failed."}, {"snippet": "OverflowError$0", "rightLabel": "", "type": "builtin", "description": "Result too large to be represented."}, {"snippet": "pass$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "PendingDeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about features which will be deprecated\nin the future."}, {"snippet": "pow$0", "rightLabel": "", "type": "builtin", "description": "pow(x, y[, z]) -> number\n\nWith two arguments, equivalent to x**y. With three arguments,\nequivalent to (x**y) % z, but may be more efficient (e.g. for longs)."}, {"snippet": "print$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "property$0", "rightLabel": "", "type": "builtin", "description": "property(fget=None, fset=None, fdel=None, doc=None) -> property attribute\n\nfget is a function to be used for getting an attribute value, and likewise\nfset is a function for setting, and fdel a function for del'ing, an\nattribute. Typical use is to define a managed attribute x:\n\nclass C(object):\n def getx(self): return self._x\n def setx(self, value): self._x = value\n def delx(self): del self._x\n x = property(getx, setx, delx, \"I'm the 'x' property.\")\n\nDecorators make defining new properties or modifying existing ones easy:\n\nclass C(object):\n @property\n def x(self):\n \"I am the 'x' property.\"\n return self._x\n @x.setter\n def x(self, value):\n self._x = value\n @x.deleter\n def x(self):\n del self._x"}, {"snippet": "quit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "raise$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "range$0", "rightLabel": "", "type": "builtin", "description": "range(start, stop=None, step=1)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "raw_input$0", "rightLabel": "", "type": "builtin", "description": "raw_input([prompt]) -> string\n\nRead a string from standard input. The trailing newline is stripped.\nIf the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.\nOn Unix, GNU readline is used if enabled. The prompt string, if given,\nis printed without a trailing newline before reading."}, {"snippet": "reduce$0", "rightLabel": "", "type": "builtin", "description": "reduce(function, sequence[, initial]) -> value\n\nApply a function of two arguments cumulatively to the items of a sequence,\nfrom left to right, so as to reduce the sequence to a single value.\nFor example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates\n((((1+2)+3)+4)+5). If initial is present, it is placed before the items\nof the sequence in the calculation, and serves as a default when the\nsequence is empty."}, {"snippet": "ReferenceError$0", "rightLabel": "", "type": "builtin", "description": "Weak ref proxy used after referent went away."}, {"snippet": "reload$0", "rightLabel": "", "type": "builtin", "description": "reload(module) -> module\n\nReload the module. The module must have been successfully imported before."}, {"snippet": "repr$0", "rightLabel": "", "type": "builtin", "description": "repr(object) -> string\n\nReturn the canonical string representation of the object.\nFor most object types, eval(repr(object)) == object."}, {"snippet": "return$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "reversed$0", "rightLabel": "", "type": "builtin", "description": "reversed(sequence) -> reverse iterator over values of the sequence\n\nReturn a reverse iterator"}, {"snippet": "round$0", "rightLabel": "", "type": "builtin", "description": "round(number[, ndigits]) -> floating point number\n\nRound a number to a given precision in decimal digits (default 0 digits).\nThis always returns a floating point number. Precision may be negative."}, {"snippet": "RuntimeError$0", "rightLabel": "", "type": "builtin", "description": "Unspecified run-time error."}, {"snippet": "RuntimeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious runtime behavior."}, {"snippet": "set$0", "rightLabel": "", "type": "builtin", "description": "set() -> new empty set object\nset(iterable) -> new set object\n\nBuild an unordered collection of unique elements."}, {"snippet": "setattr$0", "rightLabel": "", "type": "builtin", "description": "setattr(object, name, value)\n\nSet a named attribute on an object; setattr(x, 'y', v) is equivalent to\n``x.y = v''."}, {"snippet": "slice$0", "rightLabel": "", "type": "builtin", "description": "slice(stop)\nslice(start, stop[, step])\n\nCreate a slice object. This is used for extended slicing (e.g. a[0:10:2])."}, {"snippet": "sorted$0", "rightLabel": "", "type": "builtin", "description": "sorted(iterable, cmp=None, key=None, reverse=False)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "StandardError$0", "rightLabel": "", "type": "builtin", "description": "Base class for all standard Python exceptions that do not represent\ninterpreter exiting."}, {"snippet": "staticmethod$0", "rightLabel": "", "type": "builtin", "description": "staticmethod(function) -> method\n\nConvert a function to be a static method.\n\nA static method does not receive an implicit first argument.\nTo declare a static method, use this idiom:\n\n class C:\n def f(arg1, arg2, ...): ...\n f = staticmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\n\nStatic methods in Python are similar to those found in Java or C++.\nFor a more advanced concept, see the classmethod builtin."}, {"snippet": "StopIteration$0", "rightLabel": "", "type": "builtin", "description": "Signal the end from iterator.next()."}, {"snippet": "str$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "subprocess$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "sum$0", "rightLabel": "", "type": "builtin", "description": "sum(sequence[, start]) -> value\n\nReturn the sum of a sequence of numbers (NOT strings) plus the value\nof parameter 'start' (which defaults to 0). When the sequence is\nempty, return start."}, {"snippet": "super$0", "rightLabel": "", "type": "builtin", "description": "super(type, obj) -> bound super object; requires isinstance(obj, type)\nsuper(type) -> unbound super object\nsuper(type, type2) -> bound super object; requires issubclass(type2, type)\nTypical use to call a cooperative superclass method:\nclass C(B):\n def meth(self, arg):\n super(C, self).meth(arg)"}, {"snippet": "SyntaxError$0", "rightLabel": "", "type": "builtin", "description": "Invalid syntax."}, {"snippet": "SyntaxWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious syntax."}, {"snippet": "SystemError$0", "rightLabel": "", "type": "builtin", "description": "Internal error in the Python interpreter.\n\nPlease report this to the Python maintainer, along with the traceback,\nthe Python version, and the hardware/OS platform and version."}, {"snippet": "SystemExit$0", "rightLabel": "", "type": "builtin", "description": "Request to exit from the interpreter."}, {"snippet": "TabError$0", "rightLabel": "", "type": "builtin", "description": "Improper mixture of spaces and tabs."}, {"snippet": "True$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "try$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "tuple$0", "rightLabel": "", "type": "builtin", "description": "tuple() -> empty tuple\ntuple(iterable) -> tuple initialized from iterable's items\n\nIf the argument is a tuple, the return value is the same object."}, {"snippet": "type$0", "rightLabel": "", "type": "builtin", "description": "type(object) -> the object's type\ntype(name, bases, dict) -> a new type"}, {"snippet": "TypeError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument type."}, {"snippet": "UnboundLocalError$0", "rightLabel": "", "type": "builtin", "description": "Local name referenced but not bound to a value."}, {"snippet": "unichr$0", "rightLabel": "", "type": "builtin", "description": "unichr(i) -> Unicode character\n\nReturn a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff."}, {"snippet": "unicode$0", "rightLabel": "", "type": "builtin", "description": "unicode(object='') -> unicode object\nunicode(string[, encoding[, errors]]) -> unicode object\n\nCreate a new Unicode object from the given encoded string.\nencoding defaults to the current default string encoding.\nerrors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'."}, {"snippet": "UnicodeDecodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode decoding error."}, {"snippet": "UnicodeEncodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode encoding error."}, {"snippet": "UnicodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode related error."}, {"snippet": "UnicodeTranslateError$0", "rightLabel": "", "type": "builtin", "description": "Unicode translation error."}, {"snippet": "UnicodeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about Unicode related problems, mostly\nrelated to conversion problems."}, {"snippet": "UserWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings generated by user code."}, {"snippet": "ValueError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument value (of correct type)."}, {"snippet": "vars$0", "rightLabel": "", "type": "builtin", "description": "vars([object]) -> dictionary\n\nWithout arguments, equivalent to locals().\nWith an argument, equivalent to object.__dict__."}, {"snippet": "Warning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warning categories."}, {"snippet": "while$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "with$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "xrange$0", "rightLabel": "", "type": "builtin", "description": "xrange(stop) -> xrange object\nxrange(start, stop[, step]) -> xrange object\n\nLike range(), but instead of returning a list, returns an object that\ngenerates the numbers in the range on demand. For looping, this is \nslightly faster than range() and more memory efficient."}, {"snippet": "yield$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ZeroDivisionError$0", "rightLabel": "", "type": "builtin", "description": "Second argument to a division or modulo operation was zero."}, {"snippet": "zip$0", "rightLabel": "", "type": "builtin", "description": "zip(seq1 [, seq2 [...]]) -> [(seq1[0], seq2[0] ...), (...)]\n\nReturn a list of tuples, where each tuple contains the i-th element\nfrom each of the argument sequences. The returned list is truncated\nin length to the length of the shortest argument sequence."}, {"snippet": "__debug__$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "__doc__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__file__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__import__$0", "rightLabel": "", "type": "builtin", "description": "__import__(name, globals={}, locals={}, fromlist=[], level=-1) -> module\n\nImport a module. Because this function is meant for use by the Python\ninterpreter and not for general use it is better to use\nimportlib.import_module() to programmatically import a module.\n\nThe globals argument is only used to determine the context;\nthey are not modified. The locals argument is unused. The fromlist\nshould be a list of names to emulate ``from name import ...'', or an\nempty list to emulate ``import name''.\nWhen importing a module from a package, note that __import__('A.B', ...)\nreturns package A when fromlist is empty, but its submodule B when\nfromlist is not empty. Level is used to determine whether to perform \nabsolute or relative imports. -1 is the original strategy of attempting\nboth absolute and relative imports, 0 is absolute, a positive number\nis the number of parent directories to search relative to the current module."}, {"snippet": "__name__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__package__$0", "rightLabel": "", "type": "builtin", "description": ""}]}
Got 1 lines
Pending requests: Object {}
Deserealizing response from Jedi {"id": "8bb642ed5f1a53ab2bcc977290d583bd", "results": [{"snippet": "abs$0", "rightLabel": "", "type": "builtin", "description": "abs(number) -> number\n\nReturn the absolute value of the argument."}, {"snippet": "all$0", "rightLabel": "", "type": "builtin", "description": "all(iterable) -> bool\n\nReturn True if bool(x) is True for all values x in the iterable.\nIf the iterable is empty, return True."}, {"snippet": "and$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "any$0", "rightLabel": "", "type": "builtin", "description": "any(iterable) -> bool\n\nReturn True if bool(x) is True for any x in the iterable.\nIf the iterable is empty, return False."}, {"snippet": "apply$0", "rightLabel": "", "type": "builtin", "description": "apply(object[, args[, kwargs]]) -> value\n\nCall a callable object with positional arguments taken from the tuple args,\nand keyword arguments taken from the optional dictionary kwargs.\nNote that classes are callable, as are instances with a __call__() method.\n\nDeprecated since release 2.3. Instead, use the extended call syntax:\n function(*args, **keywords)."}, {"snippet": "ArithmeticError$0", "rightLabel": "", "type": "builtin", "description": "Base class for arithmetic errors."}, {"snippet": "as$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "assert$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "AssertionError$0", "rightLabel": "", "type": "builtin", "description": "Assertion failed."}, {"snippet": "AttributeError$0", "rightLabel": "", "type": "builtin", "description": "Attribute not found."}, {"snippet": "BaseException$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all exceptions"}, {"snippet": "basestring$0", "rightLabel": "", "type": "builtin", "description": "Type basestring cannot be instantiated; it is the base for str and unicode."}, {"snippet": "bin$0", "rightLabel": "", "type": "builtin", "description": "bin(number) -> string\n\nReturn the binary representation of an integer or long integer."}, {"snippet": "bool$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "break$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "buffer$0", "rightLabel": "", "type": "builtin", "description": "buffer(object [, offset[, size]])\n\nCreate a new buffer object which references the given object.\nThe buffer will reference a slice of the target object from the\nstart of the object (or at the specified offset). The slice will\nextend to the end of the target object (or with the specified size)."}, {"snippet": "BufferError$0", "rightLabel": "", "type": "builtin", "description": "Buffer error."}, {"snippet": "bytearray$0", "rightLabel": "", "type": "builtin", "description": "bytearray(iterable_of_ints) -> bytearray.\nbytearray(string, encoding[, errors]) -> bytearray.\nbytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray.\nbytearray(memory_view) -> bytearray.\n\nConstruct an mutable bytearray object from:\n - an iterable yielding integers in range(256)\n - a text string encoded using the specified encoding\n - a bytes or a bytearray object\n - any object implementing the buffer API.\n\nbytearray(int) -> bytearray.\n\nConstruct a zero-initialized bytearray of the given length."}, {"snippet": "bytes$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "BytesWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about bytes and buffer related problems, mostly\nrelated to conversion from str or comparing to str."}, {"snippet": "callable$0", "rightLabel": "", "type": "builtin", "description": "callable(object) -> bool\n\nReturn whether the object is callable (i.e., some kind of function).\nNote that classes are callable, as are instances with a __call__() method."}, {"snippet": "chr$0", "rightLabel": "", "type": "builtin", "description": "chr(i) -> character\n\nReturn a string of one character with ordinal i; 0 <= i < 256."}, {"snippet": "class$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "classmethod$0", "rightLabel": "", "type": "builtin", "description": "classmethod(function) -> method\n\nConvert a function to be a class method.\n\nA class method receives the class as implicit first argument,\njust like an instance method receives the instance.\nTo declare a class method, use this idiom:\n\n class C:\n def f(cls, arg1, arg2, ...): ...\n f = classmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\nIf a class method is called for a derived class, the derived class\nobject is passed as the implied first argument.\n\nClass methods are different than C++ or Java static methods.\nIf you want those, see the staticmethod builtin."}, {"snippet": "cmp$0", "rightLabel": "", "type": "builtin", "description": "cmp(x, y) -> integer\n\nReturn negative if x<y, zero if x==y, positive if x>y."}, {"snippet": "coerce$0", "rightLabel": "", "type": "builtin", "description": "coerce(x, y) -> (x1, y1)\n\nReturn a tuple consisting of the two numeric arguments converted to\na common type, using the same rules as used by arithmetic operations.\nIf coercion is not possible, raise TypeError."}, {"snippet": "compile$0", "rightLabel": "", "type": "builtin", "description": "compile(source, filename, mode[, flags[, dont_inherit]]) -> code object\n\nCompile the source string (a Python module, statement or expression)\ninto a code object that can be executed by the exec statement or eval().\nThe filename will be used for run-time error messages.\nThe mode must be 'exec' to compile a module, 'single' to compile a\nsingle (interactive) statement, or 'eval' to compile an expression.\nThe flags argument, if present, controls which future statements influence\nthe compilation of the code.\nThe dont_inherit argument, if non-zero, stops the compilation inheriting\nthe effects of any future statements in effect in the code calling\ncompile; if absent or zero these statements do influence the compilation,\nin addition to any features explicitly specified."}, {"snippet": "complex$0", "rightLabel": "", "type": "builtin", "description": "complex(real[, imag]) -> complex number\n\nCreate a complex number from a real part and an optional imaginary part.\nThis is equivalent to (real + imag*1j) where imag defaults to 0."}, {"snippet": "continue$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "copyright$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "credits$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "def$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "del$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "delattr$0", "rightLabel": "", "type": "builtin", "description": "delattr(object, name)\n\nDelete a named attribute on an object; delattr(x, 'y') is equivalent to\n``del x.y''."}, {"snippet": "DeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about deprecated features."}, {"snippet": "dict$0", "rightLabel": "", "type": "builtin", "description": "dict() -> new empty dictionary\ndict(mapping) -> new dictionary initialized from a mapping object's\n (key, value) pairs\ndict(iterable) -> new dictionary initialized as if via:\n d = {}\n for k, v in iterable:\n d[k] = v\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\n in the keyword argument list. For example: dict(one=1, two=2)"}, {"snippet": "dir$0", "rightLabel": "", "type": "builtin", "description": "dir([object]) -> list of strings\n\nIf called without an argument, return the names in the current scope.\nElse, return an alphabetized list of names comprising (some of) the attributes\nof the given object, and of attributes reachable from it.\nIf the object supplies a method named __dir__, it will be used; otherwise\nthe default dir() logic is used and returns:\n for a module object: the module's attributes.\n for a class object: its attributes, and recursively the attributes\n of its bases.\n for any other object: its attributes, its class's attributes, and\n recursively the attributes of its class's base classes."}, {"snippet": "divmod$0", "rightLabel": "", "type": "builtin", "description": "divmod(x, y) -> (quotient, remainder)\n\nReturn the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x."}, {"snippet": "elif$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Ellipsis$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "else$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "enumerate$0", "rightLabel": "", "type": "builtin", "description": "enumerate(iterable[, start]) -> iterator for index, value of iterable\n\nReturn an enumerate object. iterable must be another object that supports\niteration. The enumerate object yields pairs containing a count (from\nstart, which defaults to zero) and a value yielded by the iterable argument.\nenumerate is useful for obtaining an indexed list:\n (0, seq[0]), (1, seq[1]), (2, seq[2]), ..."}, {"snippet": "EnvironmentError$0", "rightLabel": "", "type": "builtin", "description": "Base class for I/O related errors."}, {"snippet": "EOFError$0", "rightLabel": "", "type": "builtin", "description": "Read beyond end of file."}, {"snippet": "eval$0", "rightLabel": "", "type": "builtin", "description": "eval(source[, globals[, locals]]) -> value\n\nEvaluate the source in the context of globals and locals.\nThe source may be a string representing a Python expression\nor a code object as returned by compile().\nThe globals must be a dictionary and locals can be any mapping,\ndefaulting to the current globals and locals.\nIf only globals is given, locals defaults to it."}, {"snippet": "except$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "Exception$0", "rightLabel": "", "type": "builtin", "description": "Common base class for all non-exit exceptions."}, {"snippet": "exec$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "execfile$0", "rightLabel": "", "type": "builtin", "description": "execfile(filename[, globals[, locals]])\n\nRead and execute a Python script from a file.\nThe globals and locals are dictionaries, defaulting to the current\nglobals and locals. If only globals is given, locals defaults to it."}, {"snippet": "exit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "False$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "file$0", "rightLabel": "", "type": "builtin", "description": "file(name[, mode[, buffering]]) -> file object\n\nOpen a file. The mode can be 'r', 'w' or 'a' for reading (default),\nwriting or appending. The file will be created if it doesn't exist\nwhen opened for writing or appending; it will be truncated when\nopened for writing. Add a 'b' to the mode for binary files.\nAdd a '+' to the mode to allow simultaneous reading and writing.\nIf the buffering argument is given, 0 means unbuffered, 1 means line\nbuffered, and larger numbers specify the buffer size. The preferred way\nto open a file is with the builtin open() function.\nAdd a 'U' to mode to open the file for input with universal newline\nsupport. Any line ending in the input file will be seen as a '\\n'\nin Python. Also, a file so opened gains the attribute 'newlines';\nthe value for this attribute is one of None (no newline read yet),\n'\\r', '\\n', '\\r\\n' or a tuple containing all the newline types seen.\n\n'U' cannot be combined with 'w' or '+' mode."}, {"snippet": "filter$0", "rightLabel": "", "type": "builtin", "description": "filter(function or None, sequence) -> list, tuple, or string\n\nReturn those items of sequence for which function(item) is true. If\nfunction is None, return the items that are true. If sequence is a tuple\nor string, return the same type, else return a list."}, {"snippet": "finally$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "float$0", "rightLabel": "", "type": "builtin", "description": "float(x) -> floating point number\n\nConvert a string or number to a floating point number, if possible."}, {"snippet": "FloatingPointError$0", "rightLabel": "", "type": "builtin", "description": "Floating point operation failed."}, {"snippet": "for$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "format$0", "rightLabel": "", "type": "builtin", "description": "format(value[, format_spec]) -> string\n\nReturns value.__format__(format_spec)\nformat_spec defaults to \"\""}, {"snippet": "from$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "frozenset$0", "rightLabel": "", "type": "builtin", "description": "frozenset() -> empty frozenset object\nfrozenset(iterable) -> frozenset object\n\nBuild an immutable unordered collection of unique elements."}, {"snippet": "FutureWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about constructs that will change semantically\nin the future."}, {"snippet": "GeneratorExit$0", "rightLabel": "", "type": "builtin", "description": "Request that a generator exit."}, {"snippet": "getattr$0", "rightLabel": "", "type": "builtin", "description": "getattr(object, name[, default]) -> value\n\nGet a named attribute from an object; getattr(x, 'y') is equivalent to x.y.\nWhen a default argument is given, it is returned when the attribute doesn't\nexist; without it, an exception is raised in that case."}, {"snippet": "global$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "globals$0", "rightLabel": "", "type": "builtin", "description": "globals() -> dictionary\n\nReturn the dictionary containing the current scope's global variables."}, {"snippet": "hasattr$0", "rightLabel": "", "type": "builtin", "description": "hasattr(object, name) -> bool\n\nReturn whether the object has an attribute with the given name.\n(This is done by calling getattr(object, name) and catching exceptions.)"}, {"snippet": "hash$0", "rightLabel": "", "type": "builtin", "description": "hash(object) -> integer\n\nReturn a hash value for the object. Two objects with the same value have\nthe same hash value. The reverse is not necessarily true, but likely."}, {"snippet": "help$0", "rightLabel": "", "type": "builtin", "description": "Define the builtin 'help'.\nThis is a wrapper around pydoc.help (with a twist)."}, {"snippet": "hex$0", "rightLabel": "", "type": "builtin", "description": "hex(number) -> string\n\nReturn the hexadecimal representation of an integer or long integer."}, {"snippet": "id$0", "rightLabel": "", "type": "builtin", "description": "id(object) -> integer\n\nReturn the identity of an object. This is guaranteed to be unique among\nsimultaneously existing objects. (Hint: it's the object's memory address.)"}, {"snippet": "if$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "import$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ImportError$0", "rightLabel": "", "type": "builtin", "description": "Import can't find module, or can't find name in module."}, {"snippet": "ImportWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about probable mistakes in module imports"}, {"snippet": "in$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "IndentationError$0", "rightLabel": "", "type": "builtin", "description": "Improper indentation."}, {"snippet": "IndexError$0", "rightLabel": "", "type": "builtin", "description": "Sequence index out of range."}, {"snippet": "input$0", "rightLabel": "", "type": "builtin", "description": "input([prompt]) -> value\n\nEquivalent to eval(raw_input(prompt))."}, {"snippet": "int$0", "rightLabel": "", "type": "builtin", "description": "int(x=0) -> int or long\nint(x, base=10) -> int or long\n\nConvert a number or string to an integer, or return 0 if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\nIf x is outside the integer range, the function returns a long instead.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4"}, {"snippet": "intern$0", "rightLabel": "", "type": "builtin", "description": "intern(string) -> string\n\n``Intern'' the given string. This enters the string in the (global)\ntable of interned strings whose purpose is to speed up dictionary lookups.\nReturn the string itself or the previously interned string object with the\nsame value."}, {"snippet": "IOError$0", "rightLabel": "", "type": "builtin", "description": "I/O operation failed."}, {"snippet": "is$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "isinstance$0", "rightLabel": "", "type": "builtin", "description": "isinstance(object, class-or-type-or-tuple) -> bool\n\nReturn whether an object is an instance of a class or of a subclass thereof.\nWith a type as second argument, return whether that is the object's type.\nThe form using a tuple, isinstance(x, (A, B, ...)), is a shortcut for\nisinstance(x, A) or isinstance(x, B) or ... (etc.)."}, {"snippet": "issubclass$0", "rightLabel": "", "type": "builtin", "description": "issubclass(C, B) -> bool\n\nReturn whether class C is a subclass (i.e., a derived class) of class B.\nWhen using a tuple as the second argument issubclass(X, (A, B, ...)),\nis a shortcut for issubclass(X, A) or issubclass(X, B) or ... (etc.)."}, {"snippet": "iter$0", "rightLabel": "", "type": "builtin", "description": "iter(collection, sentinel=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "KeyboardInterrupt$0", "rightLabel": "", "type": "builtin", "description": "Program interrupted by user."}, {"snippet": "KeyError$0", "rightLabel": "", "type": "builtin", "description": "Mapping key not found."}, {"snippet": "lambda$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "len$0", "rightLabel": "", "type": "builtin", "description": "len(object) -> integer\n\nReturn the number of items of a sequence or collection."}, {"snippet": "license$0", "rightLabel": "", "type": "builtin", "description": "interactive prompt objects for printing the license text, a list of\ncontributors and the copyright notice."}, {"snippet": "list$0", "rightLabel": "", "type": "builtin", "description": "list() -> new empty list\nlist(iterable) -> new list initialized from iterable's items"}, {"snippet": "locals$0", "rightLabel": "", "type": "builtin", "description": "locals() -> dictionary\n\nUpdate and return a dictionary containing the current scope's local variables."}, {"snippet": "long$0", "rightLabel": "", "type": "builtin", "description": "long(x=0) -> long\nlong(x, base=10) -> long\n\nConvert a number or string to a long integer, or return 0L if no arguments\nare given. If x is floating point, the conversion truncates towards zero.\n\nIf x is not a number or if base is given, then x must be a string or\nUnicode object representing an integer literal in the given base. The\nliteral can be preceded by '+' or '-' and be surrounded by whitespace.\nThe base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to\ninterpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4L"}, {"snippet": "LookupError$0", "rightLabel": "", "type": "builtin", "description": "Base class for lookup errors."}, {"snippet": "map$0", "rightLabel": "", "type": "builtin", "description": "map(function, sequence[, sequence, ...]) -> list\n\nReturn a list of the results of applying the function to the items of\nthe argument sequence(s). If more than one sequence is given, the\nfunction is called with an argument list consisting of the corresponding\nitem of each sequence, substituting None for missing values when not all\nsequences have the same length. If the function is None, return a list of\nthe items of the sequence (or a list of tuples if more than one sequence)."}, {"snippet": "max$0", "rightLabel": "", "type": "builtin", "description": "max(iterable[, key=func]) -> value\nmax(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its largest item.\nWith two or more arguments, return the largest argument."}, {"snippet": "MemoryError$0", "rightLabel": "", "type": "builtin", "description": "Out of memory."}, {"snippet": "memoryview$0", "rightLabel": "", "type": "builtin", "description": "memoryview(object)\n\nCreate a new memoryview object which references the given object."}, {"snippet": "min$0", "rightLabel": "", "type": "builtin", "description": "min(iterable[, key=func]) -> value\nmin(a, b, c, ...[, key=func]) -> value\n\nWith a single iterable argument, return its smallest item.\nWith two or more arguments, return the smallest argument."}, {"snippet": "NameError$0", "rightLabel": "", "type": "builtin", "description": "Name not found globally."}, {"snippet": "next$0", "rightLabel": "", "type": "builtin", "description": "next(iterator, default=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "None$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "not$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "NotImplemented$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "NotImplementedError$0", "rightLabel": "", "type": "builtin", "description": "Method or function hasn't been implemented yet."}, {"snippet": "object$0", "rightLabel": "", "type": "builtin", "description": "The most base type"}, {"snippet": "oct$0", "rightLabel": "", "type": "builtin", "description": "oct(number) -> string\n\nReturn the octal representation of an integer or long integer."}, {"snippet": "open$0", "rightLabel": "", "type": "builtin", "description": "open(name, mode=None, buffering=None)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "or$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ord$0", "rightLabel": "", "type": "builtin", "description": "ord(c) -> integer\n\nReturn the integer ordinal of a one-character string."}, {"snippet": "OSError$0", "rightLabel": "", "type": "builtin", "description": "OS system call failed."}, {"snippet": "OverflowError$0", "rightLabel": "", "type": "builtin", "description": "Result too large to be represented."}, {"snippet": "pass$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "PendingDeprecationWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about features which will be deprecated\nin the future."}, {"snippet": "pow$0", "rightLabel": "", "type": "builtin", "description": "pow(x, y[, z]) -> number\n\nWith two arguments, equivalent to x**y. With three arguments,\nequivalent to (x**y) % z, but may be more efficient (e.g. for longs)."}, {"snippet": "print$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "property$0", "rightLabel": "", "type": "builtin", "description": "property(fget=None, fset=None, fdel=None, doc=None) -> property attribute\n\nfget is a function to be used for getting an attribute value, and likewise\nfset is a function for setting, and fdel a function for del'ing, an\nattribute. Typical use is to define a managed attribute x:\n\nclass C(object):\n def getx(self): return self._x\n def setx(self, value): self._x = value\n def delx(self): del self._x\n x = property(getx, setx, delx, \"I'm the 'x' property.\")\n\nDecorators make defining new properties or modifying existing ones easy:\n\nclass C(object):\n @property\n def x(self):\n \"I am the 'x' property.\"\n return self._x\n @x.setter\n def x(self, value):\n self._x = value\n @x.deleter\n def x(self):\n del self._x"}, {"snippet": "quit$0", "rightLabel": "", "type": "builtin", "description": ""}, {"snippet": "raise$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "range$0", "rightLabel": "", "type": "builtin", "description": "range(start, stop=None, step=1)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "raw_input$0", "rightLabel": "", "type": "builtin", "description": "raw_input([prompt]) -> string\n\nRead a string from standard input. The trailing newline is stripped.\nIf the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.\nOn Unix, GNU readline is used if enabled. The prompt string, if given,\nis printed without a trailing newline before reading."}, {"snippet": "reduce$0", "rightLabel": "", "type": "builtin", "description": "reduce(function, sequence[, initial]) -> value\n\nApply a function of two arguments cumulatively to the items of a sequence,\nfrom left to right, so as to reduce the sequence to a single value.\nFor example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates\n((((1+2)+3)+4)+5). If initial is present, it is placed before the items\nof the sequence in the calculation, and serves as a default when the\nsequence is empty."}, {"snippet": "ReferenceError$0", "rightLabel": "", "type": "builtin", "description": "Weak ref proxy used after referent went away."}, {"snippet": "reload$0", "rightLabel": "", "type": "builtin", "description": "reload(module) -> module\n\nReload the module. The module must have been successfully imported before."}, {"snippet": "repr$0", "rightLabel": "", "type": "builtin", "description": "repr(object) -> string\n\nReturn the canonical string representation of the object.\nFor most object types, eval(repr(object)) == object."}, {"snippet": "return$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "reversed$0", "rightLabel": "", "type": "builtin", "description": "reversed(sequence) -> reverse iterator over values of the sequence\n\nReturn a reverse iterator"}, {"snippet": "round$0", "rightLabel": "", "type": "builtin", "description": "round(number[, ndigits]) -> floating point number\n\nRound a number to a given precision in decimal digits (default 0 digits).\nThis always returns a floating point number. Precision may be negative."}, {"snippet": "RuntimeError$0", "rightLabel": "", "type": "builtin", "description": "Unspecified run-time error."}, {"snippet": "RuntimeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious runtime behavior."}, {"snippet": "set$0", "rightLabel": "", "type": "builtin", "description": "set() -> new empty set object\nset(iterable) -> new set object\n\nBuild an unordered collection of unique elements."}, {"snippet": "setattr$0", "rightLabel": "", "type": "builtin", "description": "setattr(object, name, value)\n\nSet a named attribute on an object; setattr(x, 'y', v) is equivalent to\n``x.y = v''."}, {"snippet": "slice$0", "rightLabel": "", "type": "builtin", "description": "slice(stop)\nslice(start, stop[, step])\n\nCreate a slice object. This is used for extended slicing (e.g. a[0:10:2])."}, {"snippet": "sorted$0", "rightLabel": "", "type": "builtin", "description": "sorted(iterable, cmp=None, key=None, reverse=False)\n\nBuilt-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."}, {"snippet": "StandardError$0", "rightLabel": "", "type": "builtin", "description": "Base class for all standard Python exceptions that do not represent\ninterpreter exiting."}, {"snippet": "staticmethod$0", "rightLabel": "", "type": "builtin", "description": "staticmethod(function) -> method\n\nConvert a function to be a static method.\n\nA static method does not receive an implicit first argument.\nTo declare a static method, use this idiom:\n\n class C:\n def f(arg1, arg2, ...): ...\n f = staticmethod(f)\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\n\nStatic methods in Python are similar to those found in Java or C++.\nFor a more advanced concept, see the classmethod builtin."}, {"snippet": "StopIteration$0", "rightLabel": "", "type": "builtin", "description": "Signal the end from iterator.next()."}, {"snippet": "str$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "subprocess$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "sum$0", "rightLabel": "", "type": "builtin", "description": "sum(sequence[, start]) -> value\n\nReturn the sum of a sequence of numbers (NOT strings) plus the value\nof parameter 'start' (which defaults to 0). When the sequence is\nempty, return start."}, {"snippet": "super$0", "rightLabel": "", "type": "builtin", "description": "super(type, obj) -> bound super object; requires isinstance(obj, type)\nsuper(type) -> unbound super object\nsuper(type, type2) -> bound super object; requires issubclass(type2, type)\nTypical use to call a cooperative superclass method:\nclass C(B):\n def meth(self, arg):\n super(C, self).meth(arg)"}, {"snippet": "SyntaxError$0", "rightLabel": "", "type": "builtin", "description": "Invalid syntax."}, {"snippet": "SyntaxWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about dubious syntax."}, {"snippet": "SystemError$0", "rightLabel": "", "type": "builtin", "description": "Internal error in the Python interpreter.\n\nPlease report this to the Python maintainer, along with the traceback,\nthe Python version, and the hardware/OS platform and version."}, {"snippet": "SystemExit$0", "rightLabel": "", "type": "builtin", "description": "Request to exit from the interpreter."}, {"snippet": "TabError$0", "rightLabel": "", "type": "builtin", "description": "Improper mixture of spaces and tabs."}, {"snippet": "True$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "try$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "tuple$0", "rightLabel": "", "type": "builtin", "description": "tuple() -> empty tuple\ntuple(iterable) -> tuple initialized from iterable's items\n\nIf the argument is a tuple, the return value is the same object."}, {"snippet": "type$0", "rightLabel": "", "type": "builtin", "description": "type(object) -> the object's type\ntype(name, bases, dict) -> a new type"}, {"snippet": "TypeError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument type."}, {"snippet": "UnboundLocalError$0", "rightLabel": "", "type": "builtin", "description": "Local name referenced but not bound to a value."}, {"snippet": "unichr$0", "rightLabel": "", "type": "builtin", "description": "unichr(i) -> Unicode character\n\nReturn a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff."}, {"snippet": "unicode$0", "rightLabel": "", "type": "builtin", "description": "unicode(object='') -> unicode object\nunicode(string[, encoding[, errors]]) -> unicode object\n\nCreate a new Unicode object from the given encoded string.\nencoding defaults to the current default string encoding.\nerrors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'."}, {"snippet": "UnicodeDecodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode decoding error."}, {"snippet": "UnicodeEncodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode encoding error."}, {"snippet": "UnicodeError$0", "rightLabel": "", "type": "builtin", "description": "Unicode related error."}, {"snippet": "UnicodeTranslateError$0", "rightLabel": "", "type": "builtin", "description": "Unicode translation error."}, {"snippet": "UnicodeWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings about Unicode related problems, mostly\nrelated to conversion problems."}, {"snippet": "UserWarning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warnings generated by user code."}, {"snippet": "ValueError$0", "rightLabel": "", "type": "builtin", "description": "Inappropriate argument value (of correct type)."}, {"snippet": "vars$0", "rightLabel": "", "type": "builtin", "description": "vars([object]) -> dictionary\n\nWithout arguments, equivalent to locals().\nWith an argument, equivalent to object.__dict__."}, {"snippet": "Warning$0", "rightLabel": "", "type": "builtin", "description": "Base class for warning categories."}, {"snippet": "while$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "with$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "xrange$0", "rightLabel": "", "type": "builtin", "description": "xrange(stop) -> xrange object\nxrange(start, stop[, step]) -> xrange object\n\nLike range(), but instead of returning a list, returns an object that\ngenerates the numbers in the range on demand. For looping, this is \nslightly faster than range() and more memory efficient."}, {"snippet": "yield$0", "rightLabel": "", "type": "keyword", "description": ""}, {"snippet": "ZeroDivisionError$0", "rightLabel": "", "type": "builtin", "description": "Second argument to a division or modulo operation was zero."}, {"snippet": "zip$0", "rightLabel": "", "type": "builtin", "description": "zip(seq1 [, seq2 [...]]) -> [(seq1[0], seq2[0] ...), (...)]\n\nReturn a list of tuples, where each tuple contains the i-th element\nfrom each of the argument sequences. The returned list is truncated\nin length to the length of the shortest argument sequence."}, {"snippet": "__debug__$0", "rightLabel": "", "type": "builtin", "description": "bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."}, {"snippet": "__doc__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__file__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__import__$0", "rightLabel": "", "type": "builtin", "description": "__import__(name, globals={}, locals={}, fromlist=[], level=-1) -> module\n\nImport a module. Because this function is meant for use by the Python\ninterpreter and not for general use it is better to use\nimportlib.import_module() to programmatically import a module.\n\nThe globals argument is only used to determine the context;\nthey are not modified. The locals argument is unused. The fromlist\nshould be a list of names to emulate ``from name import ...'', or an\nempty list to emulate ``import name''.\nWhen importing a module from a package, note that __import__('A.B', ...)\nreturns package A when fromlist is empty, but its submodule B when\nfromlist is not empty. Level is used to determine whether to perform \nabsolute or relative imports. -1 is the original strategy of attempting\nboth absolute and relative imports, 0 is absolute, a positive number\nis the number of parent directories to search relative to the current module."}, {"snippet": "__name__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__package__$0", "rightLabel": "", "type": "builtin", "description": ""}]}
Got 1 lines
Pending requests: Object {}
Serializing request to be sent to Jedi Object {id: "0fd8f4d5a6b6b1866c44056b2553f982", lookup: "completions", path: undefined, source: "import subprocess↵↵subprocess.", line: 2…}
Deserealizing response from Jedi {"id": "0fd8f4d5a6b6b1866c44056b2553f982", "results": [{"snippet": "call$0", "rightLabel": "", "type": "function", "description": "call(*popenargs, **kwargs)\n\nRun command with arguments. Wait for command to complete, then\nreturn the returncode attribute.\n\nThe arguments are the same as for the Popen constructor. Example:\n\nretcode = call([\"ls\", \"-l\"])"}, {"snippet": "CalledProcessError$0", "rightLabel": "", "type": "class", "description": "CalledProcessError(self, returncode, cmd, output=None)\n\nThis exception is raised when a process run by check_call() or\ncheck_output() returns a non-zero exit status.\nThe exit status will be stored in the returncode attribute;\ncheck_output() will also store the output in the output attribute."}, {"snippet": "check_call$0", "rightLabel": "", "type": "function", "description": "check_call(*popenargs, **kwargs)\n\nRun command with arguments. Wait for command to complete. If\nthe exit code was zero then return, otherwise raise\nCalledProcessError. The CalledProcessError object will have the\nreturn code in the returncode attribute.\n\nThe arguments are the same as for the Popen constructor. Example:\n\ncheck_call([\"ls\", \"-l\"])"}, {"snippet": "check_output$0", "rightLabel": "", "type": "function", "description": "check_output(*popenargs, **kwargs)\n\nRun command with arguments and return its output as a byte string.\n\nIf the exit code was non-zero it raises a CalledProcessError. The\nCalledProcessError object will have the return code in the returncode\nattribute and output in the output attribute.\n\nThe arguments are the same as for the Popen constructor. Example:\n\n>>> check_output([\"ls\", \"-l\", \"/dev/null\"])\n'crw-rw-rw- 1 root root 1, 3 Oct 18 2007 /dev/null\\n'\n\nThe stdout argument is not allowed as it is used internally.\nTo capture standard error in the result, use stderr=STDOUT.\n\n>>> check_output([\"/bin/sh\", \"-c\",\n... \"ls -l non_existent_file ; exit 0\"],\n... stderr=STDOUT)\n'ls: non_existent_file: No such file or directory\\n'"}, {"snippet": "CREATE_NEW_CONSOLE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "CREATE_NEW_PROCESS_GROUP$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "errno$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "fcntl$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "gc$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "list2cmdline$0", "rightLabel": "", "type": "function", "description": "list2cmdline(seq)\n\nTranslate a sequence of arguments into a command line\nstring, using the same rules as the MS C runtime:\n\n1) Arguments are delimited by white space, which is either a\n space or a tab.\n\n2) A string surrounded by double quotation marks is\n interpreted as a single argument, regardless of white space\n contained within. A quoted string can be embedded in an\n argument.\n\n3) A double quotation mark preceded by a backslash is\n interpreted as a literal double quotation mark.\n\n4) Backslashes are interpreted literally, unless they\n immediately precede a double quotation mark.\n\n5) If backslashes immediately precede a double quotation mark,\n every pair of backslashes is interpreted as a literal\n backslash. If the number of backslashes is odd, the last\n backslash escapes the next double quotation mark as\n described in rule 3."}, {"snippet": "MAXFD$0", "rightLabel": " os.sysconf(\"SC_OPEN_MAX\")", "type": "constant", "description": ""}, {"snippet": "msvcrt$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "mswindows$0", "rightLabel": " (sys.platform == \"win32\")", "type": "value", "description": ""}, {"snippet": "os$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "pickle$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "PIPE$0", "rightLabel": " -1", "type": "constant", "description": ""}, {"snippet": "Popen$0", "rightLabel": "", "type": "class", "description": "Popen(self, args, bufsize=0, executable=None,\nstdin=None, stdout=None, stderr=None, preexec_fn=None,\nclose_fds=False, shell=False, cwd=None, env=None,\nuniversal_newlines=False, startupinfo=None,\ncreationflags=0)\n\n"}, {"snippet": "pywintypes$0", "rightLabel": "", "type": "class", "description": ""}, {"snippet": "select$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "signal$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STARTF_USESHOWWINDOW$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STARTF_USESTDHANDLES$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STARTUPINFO$0", "rightLabel": "", "type": "class", "description": ""}, {"snippet": "STD_ERROR_HANDLE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STD_INPUT_HANDLE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STD_OUTPUT_HANDLE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STDOUT$0", "rightLabel": " -2", "type": "constant", "description": ""}, {"snippet": "SW_HIDE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "sys$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "threading$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "traceback$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "types$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "_active$0", "rightLabel": " []", "type": "value", "description": ""}, {"snippet": "_args_from_interpreter_flags$0", "rightLabel": "", "type": "function", "description": "_args_from_interpreter_flags()\n\nReturn a list of command-line arguments reproducing the current\nsettings in sys.flags and sys.warnoptions."}, {"snippet": "_cleanup$0", "rightLabel": "", "type": "function", "description": "_cleanup()\n\n"}, {"snippet": "_demo_posix$0", "rightLabel": "", "type": "function", "description": "_demo_posix()\n\n"}, {"snippet": "_demo_windows$0", "rightLabel": "", "type": "function", "description": "_demo_windows()\n\n"}, {"snippet": "_eintr_retry_call$0", "rightLabel": "", "type": "function", "description": "_eintr_retry_call(func, *args)\n\n"}, {"snippet": "_has_poll$0", "rightLabel": " hasattr(select, 'poll')", "type": "value", "description": ""}, {"snippet": "_PIPE_BUF$0", "rightLabel": " getattr(select, 'PIPE_BUF', 512)", "type": "constant", "description": ""}, {"snippet": "_subprocess$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "__all__$0", "rightLabel": " [\"Popen\", \"PIPE\", \"STDOUT\", \"call\", \"check_call\", \"check_output\", \"CalledProcessError\"]", "type": "value", "description": ""}, {"snippet": "__doc__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__file__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__name__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__package__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}]}
Got 1 lines
Pending requests: Object {}
Serializing request to be sent to Jedi Object {id: "3d8121c8a3255a32f72ee8332cd4df2e", lookup: "completions", path: undefined, source: "import subprocess↵↵subprocess.P", line: 2…}
Deserealizing response from Jedi {"id": "3d8121c8a3255a32f72ee8332cd4df2e", "results": [{"snippet": "call$0", "rightLabel": "", "type": "function", "description": "call(*popenargs, **kwargs)\n\nRun command with arguments. Wait for command to complete, then\nreturn the returncode attribute.\n\nThe arguments are the same as for the Popen constructor. Example:\n\nretcode = call([\"ls\", \"-l\"])"}, {"snippet": "CalledProcessError$0", "rightLabel": "", "type": "class", "description": "CalledProcessError(self, returncode, cmd, output=None)\n\nThis exception is raised when a process run by check_call() or\ncheck_output() returns a non-zero exit status.\nThe exit status will be stored in the returncode attribute;\ncheck_output() will also store the output in the output attribute."}, {"snippet": "check_call$0", "rightLabel": "", "type": "function", "description": "check_call(*popenargs, **kwargs)\n\nRun command with arguments. Wait for command to complete. If\nthe exit code was zero then return, otherwise raise\nCalledProcessError. The CalledProcessError object will have the\nreturn code in the returncode attribute.\n\nThe arguments are the same as for the Popen constructor. Example:\n\ncheck_call([\"ls\", \"-l\"])"}, {"snippet": "check_output$0", "rightLabel": "", "type": "function", "description": "check_output(*popenargs, **kwargs)\n\nRun command with arguments and return its output as a byte string.\n\nIf the exit code was non-zero it raises a CalledProcessError. The\nCalledProcessError object will have the return code in the returncode\nattribute and output in the output attribute.\n\nThe arguments are the same as for the Popen constructor. Example:\n\n>>> check_output([\"ls\", \"-l\", \"/dev/null\"])\n'crw-rw-rw- 1 root root 1, 3 Oct 18 2007 /dev/null\\n'\n\nThe stdout argument is not allowed as it is used internally.\nTo capture standard error in the result, use stderr=STDOUT.\n\n>>> check_output([\"/bin/sh\", \"-c\",\n... \"ls -l non_existent_file ; exit 0\"],\n... stderr=STDOUT)\n'ls: non_existent_file: No such file or directory\\n'"}, {"snippet": "CREATE_NEW_CONSOLE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "CREATE_NEW_PROCESS_GROUP$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "errno$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "fcntl$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "gc$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "list2cmdline$0", "rightLabel": "", "type": "function", "description": "list2cmdline(seq)\n\nTranslate a sequence of arguments into a command line\nstring, using the same rules as the MS C runtime:\n\n1) Arguments are delimited by white space, which is either a\n space or a tab.\n\n2) A string surrounded by double quotation marks is\n interpreted as a single argument, regardless of white space\n contained within. A quoted string can be embedded in an\n argument.\n\n3) A double quotation mark preceded by a backslash is\n interpreted as a literal double quotation mark.\n\n4) Backslashes are interpreted literally, unless they\n immediately precede a double quotation mark.\n\n5) If backslashes immediately precede a double quotation mark,\n every pair of backslashes is interpreted as a literal\n backslash. If the number of backslashes is odd, the last\n backslash escapes the next double quotation mark as\n described in rule 3."}, {"snippet": "MAXFD$0", "rightLabel": " os.sysconf(\"SC_OPEN_MAX\")", "type": "constant", "description": ""}, {"snippet": "msvcrt$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "mswindows$0", "rightLabel": " (sys.platform == \"win32\")", "type": "value", "description": ""}, {"snippet": "os$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "pickle$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "PIPE$0", "rightLabel": " -1", "type": "constant", "description": ""}, {"snippet": "Popen$0", "rightLabel": "", "type": "class", "description": "Popen(self, args, bufsize=0, executable=None,\nstdin=None, stdout=None, stderr=None, preexec_fn=None,\nclose_fds=False, shell=False, cwd=None, env=None,\nuniversal_newlines=False, startupinfo=None,\ncreationflags=0)\n\n"}, {"snippet": "pywintypes$0", "rightLabel": "", "type": "class", "description": ""}, {"snippet": "select$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "signal$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STARTF_USESHOWWINDOW$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STARTF_USESTDHANDLES$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STARTUPINFO$0", "rightLabel": "", "type": "class", "description": ""}, {"snippet": "STD_ERROR_HANDLE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STD_INPUT_HANDLE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STD_OUTPUT_HANDLE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "STDOUT$0", "rightLabel": " -2", "type": "constant", "description": ""}, {"snippet": "SW_HIDE$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "sys$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "threading$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "traceback$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "types$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "_active$0", "rightLabel": " []", "type": "value", "description": ""}, {"snippet": "_args_from_interpreter_flags$0", "rightLabel": "", "type": "function", "description": "_args_from_interpreter_flags()\n\nReturn a list of command-line arguments reproducing the current\nsettings in sys.flags and sys.warnoptions."}, {"snippet": "_cleanup$0", "rightLabel": "", "type": "function", "description": "_cleanup()\n\n"}, {"snippet": "_demo_posix$0", "rightLabel": "", "type": "function", "description": "_demo_posix()\n\n"}, {"snippet": "_demo_windows$0", "rightLabel": "", "type": "function", "description": "_demo_windows()\n\n"}, {"snippet": "_eintr_retry_call$0", "rightLabel": "", "type": "function", "description": "_eintr_retry_call(func, *args)\n\n"}, {"snippet": "_has_poll$0", "rightLabel": " hasattr(select, 'poll')", "type": "value", "description": ""}, {"snippet": "_PIPE_BUF$0", "rightLabel": " getattr(select, 'PIPE_BUF', 512)", "type": "constant", "description": ""}, {"snippet": "_subprocess$0", "rightLabel": "", "type": "import", "description": ""}, {"snippet": "__all__$0", "rightLabel": " [\"Popen\", \"PIPE\", \"STDOUT\", \"call\", \"check_call\", \"check_output\", \"CalledProcessError\"]", "type": "value", "description": ""}, {"snippet": "__doc__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__file__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__name__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}, {"snippet": "__package__$0", "rightLabel": "", "type": "builtin", "description": "str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."}]}
Got 1 lines
Pending requests: Object {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment