AttributeError: 'datetime.date' object has no attribute 'date'
<p>I have a script like this:</p>

<pre><code>import datetime

# variable cal_start_of_week_date has type &lt;type 'datetime.date'&gt;
# variable period has type &lt;type 'datetime.timedelta'&gt;

cal_prev_monday  = (cal_start_of_week_date - period).date()
</code></pre>

<p>When the above statement is executed, I get the error:</p>

<p>AttributeError: 'datetime.date' object has no attribute 'date'</p>

<p>How to fix this?</p>
