SHARE
TWEET

Untitled

a guest Oct 21st, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from datetime import datetime
  2.  
  3. class Event:
  4.     def __init__(type, description, occurred=None):
  5.         self.type = type
  6.         self.description = description
  7.         self.occurred = occurred or datetime.now()  # вот такое используют
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top