~ubuntu-branches/ubuntu/precise/python3.2/precise

« back to all changes in this revision

Viewing changes to Lib/reprlib.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-02-14 16:12:14 UTC
  • mfrom: (10.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110214161214-f5vwa226kebccmt9
Tags: 3.2~rc3-1
Python 3.2 release candidate 3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        wrapper.__module__ = getattr(user_function, '__module__')
31
31
        wrapper.__doc__ = getattr(user_function, '__doc__')
32
32
        wrapper.__name__ = getattr(user_function, '__name__')
 
33
        wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
33
34
        return wrapper
34
35
 
35
36
    return decorating_function