Citește codul cu atenție
class Pool:
pass
shared_pool = Pool()
def get_pool():
return shared_pool
def get_request_id():
return object()
p1 = get_pool()
r1 = get_request_id()
p2 = get_pool()
r2 = get_request_id()
print(p1 is p2)
print(r1 is r2)
print(type(p1).__name__)Ce va afișa programul? Scrie aici: