1.1 --- a/lib/__builtins__/identity.py Wed Nov 23 15:17:29 2016 +0100
1.2 +++ b/lib/__builtins__/identity.py Wed Nov 23 15:25:48 2016 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Identity-related functions.
1.6
1.7 -Copyright (C) 2015 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -45,6 +45,10 @@
1.13
1.14 def issubclass(obj, cls_or_tuple): pass
1.15
1.16 -def repr(obj): pass
1.17 +def repr(obj):
1.18 +
1.19 + "Return a program representation for 'obj'."
1.20 +
1.21 + return obj.__repr__()
1.22
1.23 # vim: tabstop=4 expandtab shiftwidth=4