Pouria <pouriaff7...@gmail.com> added the comment: 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 <rep...@bugs.python.org> نوشت: > > Terry J. Reedy <tjre...@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 <rep...@bugs.python.org> > <https://bugs.python.org/issue38451> > _______________________________________ > ---------- status: pending -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38451> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com