Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)

        def returns(rtype):
    def check_returns(f):
        def new_f(*args, **kwds):
            result = f(*args, **kwds)
            assert isinstance(result, rtype), \
                   "return value %r does not match %s" % (result,rtype)
            return result
        new_f.func_name = f.func_name
        return new_f
    return check_returns
        


src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/pyexcelerator/pyExcelerator/Workbook.py   hortonworks-sandbox(Download)
import BIFFRecords
import Style
from Deco import accepts, returns
 
 

src/p/i/picalo-4.94/picalo/lib/pyExcelerator/Workbook.py   picalo(Download)
import BIFFRecords
import Style
from Deco import accepts, returns
 
 

src/d/j/django_excel_templates-0.1/django_excel_templates/ExcelReports.py   django_excel_templates(Download)
import xlwt as xl
import helpers
from Deco import accepts, returns
from decimal import Decimal
from color_converter import *

src/p/y/pyexcelerator-0-0.6.4a/pyExcelerator/Workbook.py   pyExcelerator(Download)
import BIFFRecords
import Style
from Deco import accepts, returns
 
 

src/p/y/pyExcelerator-HEAD/pyExcelerator/Workbook.py   pyExcelerator(Download)
import BIFFRecords
import Style
from Deco import accepts, returns