import collections


def is_callable(o):
    return isinstance(o, collections.Callable)

import collections
import sys

if sys.platform == 'win32':
    from time import clock as time
else:
    from time import time


def is_callable(o):
    return isinstance(o, collections.Callable)

Add platform dependent time import for best resolution.
Add platform dependent time import for best resolution.

  import collections
+ import sys
+ 
+ if sys.platform == 'win32':
+     from time import clock as time
+ else:
+     from time import time
  
  
  def is_callable(o):
      return isinstance(o, collections.Callable)
  
Add platform dependent time import for best resolution.
## Code Before:
import collections


def is_callable(o):
    return isinstance(o, collections.Callable)

## Instruction:
Add platform dependent time import for best resolution.
## Code After:
import collections
import sys

if sys.platform == 'win32':
    from time import clock as time
else:
    from time import time


def is_callable(o):
    return isinstance(o, collections.Callable)
