Modernize code to Python 3.6+ and some cleanup
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
"""
|
||||
In the Jython registry file there is this line:
|
||||
|
||||
@@ -14,4 +13,4 @@ message = Confidential('top secret text')
|
||||
for name in dir(message):
|
||||
attr = getattr(message, name)
|
||||
if not callable(attr): # non-methods only
|
||||
print name + '\t=', attr
|
||||
print(name + '\t=', attr)
|
||||
|
||||
Reference in New Issue
Block a user