Relative Content

Tag Archive for python-3.x

Python practice sqrt

i wrote a code and it works correctly but the mentor gave me 0!!!! look at this problem:

Python metaclass keyword arguments not getting used by subclass

I am trying to write a metaclass to assist in serialization. The intention of the metaclass was to isolate the production code from the serialization mode (e.g. YAML or JSON) as much as possible. So, things could inherit from the class Serializable, and not have to worry (too much) about whether it was going to be serialized as YAML or JSON.