# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ This module provides functions that will be builtins in Python 3.0, but that conflict with builtins that already exist in Python 2.x. Functions: ascii(arg) -- Returns the canonical string representation of an object. filter(pred, iterable) -- Returns an iterator yielding those items of iterable for which pred(item) is true. hex(arg) -- Returns the hexadecimal representation of an integer. map(func, *iterables) -- Returns an iterator that computes the function using arguments from each of the iterables. oct(arg) -- Returns the octal representation of an integer. zip(iter1 [,iter2 [...]]) -- Returns a zip object whose .next() method returns a tuple where the i-th element comes from the i-th iterable argument. The typical usage of this module is to replace existing builtins in a module's namespace: from future_builtins import ascii, filter, map, hex, oct, zip """ __doc__ = """This module provides functions that will be builtins in Python 3.0, but that conflict with builtins that already exist in Python 2.x. Functions: ascii(arg) -- Returns the canonical string representation of an object. filter(pred, iterable) -- Returns an iterator yielding those items of iterable for which pred(item) is true. hex(arg) -- Returns the hexadecimal representation of an integer. map(func, *iterables) -- Returns an iterator that computes the function using arguments from each of the iterables. oct(arg) -- Returns the octal representation of an integer. zip(iter1 [,iter2 [...]]) -- Returns a zip object whose .next() method returns a tuple where the i-th element comes from the i-th iterable argument. The typical usage of this module is to replace existing builtins in a module's namespace: from future_builtins import ascii, filter, map, hex, oct, zip """ __file__ = '/Users/Shared/src/ide/build-files/build-temp/runtimes-release/__os__/osx/runtime-python2.7/lib/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/future_builtins.so' __name__ = 'future_builtins' __package__ = None def ascii(object): """ ascii(object) -> string Return the same as repr(). In Python 3.x, the repr() result will contain printable characters unescaped, while the ascii() result will have such characters backslash-escaped. """ return "" class filter(object): """ ifilter(function or None, sequence) --> ifilter object Return those items of sequence for which function(item) is true. If function is None, return the items that are true. """ def next(self): """ x.next() -> the next value, or raise StopIteration """ return None def hex(number): """ hex(number) -> string Return the hexadecimal representation of an integer or long integer. """ return "" class map(object): """ imap(func, *iterables) --> imap object Make an iterator that computes the function using arguments from each of the iterables. Like map() except that it returns an iterator instead of a list and that it stops when the shortest iterable is exhausted instead of filling in None for shorter iterables. """ def next(self): """ x.next() -> the next value, or raise StopIteration """ return None def oct(number): """ oct(number) -> string Return the octal representation of an integer or long integer. """ return "" class zip(object): """ izip(iter1 [,iter2 [...]]) --> izip object Return a izip object whose .next() method returns a tuple where the i-th element comes from the i-th iterable argument. The .next() method continues until the shortest iterable in the argument sequence is exhausted and then it raises StopIteration. Works like the zip() function but consumes less memory by returning an iterator instead of a list. """ def next(self): """ x.next() -> the next value, or raise StopIteration """ return None