I\'ve been cleaning up some code from a module I\'m extending and I can\'t seem to find a way to Pythonify this code:
global_next_id = 1 class Obj: def __
class Obj: global_next_id =0 def __init__(self): Obj.global_next_id += 1 my_obj = Obj() print(Obj.global_next_id)