File indexing completed on 2024-04-28 15:53:57
0001 #!/usr/bin/env python2.7 0002 # -*- coding: utf-8 -*- 0003 """""" 0004 def ascii(object): 0005 """ 0006 Returns the same as :func:`repr`. In Python 3, :func:`repr` will return 0007 printable Unicode characters unescaped, while :func:`ascii` will always 0008 backslash-escape them. Using :func:`future_builtins.ascii` instead of 0009 :func:`repr` in 2.6 code makes it clear that you need a pure ASCII return 0010 value. 0011 0012 """ 0013 pass 0014 0015 def filter(function,iterable): 0016 """ 0017 Works like :func:`itertools.ifilter`. 0018 0019 """ 0020 pass 0021 0022 def hex(object): 0023 """ 0024 Works like the built-in :func:`hex`, but instead of :meth:`__hex__` it will 0025 use the :meth:`__index__` method on its argument to get an integer that is 0026 then converted to hexadecimal. 0027 0028 """ 0029 pass 0030 0031 def map(function,iterable,more): 0032 """ 0033 Works like :func:`itertools.imap`. 0034 0035 """ 0036 pass 0037 0038 def oct(object): 0039 """ 0040 Works like the built-in :func:`oct`, but instead of :meth:`__oct__` it will 0041 use the :meth:`__index__` method on its argument to get an integer that is 0042 then converted to octal. 0043 0044 """ 0045 pass 0046