~sbaldassin/autopilot/fix_mir

« back to all changes in this revision

Viewing changes to autopilot/introspection/types.py

  • Committer: Tarmac
  • Author(s): Omer Akram
  • Date: 2016-11-23 15:22:37 UTC
  • mfrom: (584.1.1 ap)
  • Revision ID: tarmac-20161123152237-4ef9hkrwd971xyab
Fix build.

Approved by Richard Huddie, platform-qa-bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
255
255
def _create_generic_repr(target_type):
256
256
    return compatible_repr(lambda self: repr(target_type(self)))
257
257
 
 
258
 
258
259
_bytes_repr = _create_generic_repr(bytes)
259
260
_text_repr = _create_generic_repr(str)
260
261
_dict_repr = _create_generic_repr(dict)