On 3/12/2016 10:45 AM, Nicky Mac wrote: > class object: > def __init__(self,i, This is a syntax error, so this is not the code that ran without error. As Peter Otten said, please write a minimal complete runnable example that shows the error and then copy and paste it as run. -- Terry Jan Reedy