Message354519
For example
Def a(time=datetime.datetime.today()):
Print(time)
Output:
The output of each run is equal to the first time output
For exaple :
If you run
a()
Sleep(10)
a()
Sleep(10)
a()
You see one output three time
در تاریخ شنبه ۱۲ اکتبر ۲۰۱۹، ۸:۱۶ Terry J. Reedy <report@bugs.python.org>
نوشت:
>
> Terry J. Reedy <tjreedy@udel.edu> added the comment:
>
> Without more information, we cannot do anything with this.
>
> ----------
> nosy: +terry.reedy
> status: open -> pending
> versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue38451>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2019-10-12 05:06:50 | Pouria_ff | set | recipients:
+ Pouria_ff, terry.reedy, xtreak |
2019-10-12 05:06:50 | Pouria_ff | link | issue38451 messages |
2019-10-12 05:06:50 | Pouria_ff | create | |
|