title: Copy constructor in python
body: <p>I want to know if it possible to do a copy constructor in python like in java, this is my java code, regular contractor and a copy constructor.
  how the below code can be written in python? thx </p>
  
  <pre><code>public Date(int day, int month, int year)
  {
      _day = day;
      _month = month;
      _year = year;
  
      if(!checkDate(_day,_month,_year))
      {
          _day = DEFAULT_DAY;
          _month = DEFAULT_DAY;
          _year = DEFAULT_YEAR;
      }        
  }
  
  /**
   * Copy constructor.
   */
  public Date (Date other)
  {
      if(other != null)
      {
        _day = other._day;
        _month = other._month;
        _year = other._year;
      }
  }
  </code></pre>