Home / MCQ Bank / Computer
Computer Formatting And Decorators Difficulty: Medium

What is the purpose of the @wraps decorator in Python's functools module?

Select the correct option to test your answer:

More Computer Questions

What is the purpose of the 'toupper' function in C? Name the method which returns integer as -1 when the end of file is encountered. What will be the output of the following C code? #include <stdio.h> enum m{JAN, FEB, MAR}; enum m foo(); int main() { enum m i = foo(); printf("%d\n", i); } int foo() { return JAN; } How to create additional Guide Lines? What will be the output of the following php code? <?php $states = array( "karnataka" => array( "population" => "11,35,000" , "captial" => "Bangalore" ) , "Tamil Nadu" => array( "population" => "17,90,000" , "captial" => "Chennai" ) ) ; echo $states [ "karnataka" ][ "population" ] ; ?>