summaryrefslogtreecommitdiffstats
path: root/Lib/datetime.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/datetime.py')
-rw-r--r--Lib/datetime.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py
index 007114a..0174268 100644
--- a/Lib/datetime.py
+++ b/Lib/datetime.py
@@ -1033,7 +1033,11 @@ class date:
self._day, self._year)
def strftime(self, fmt):
- "Format using strftime()."
+ """
+ Format using strftime().
+
+ Example: "%d/%m/%Y, %H:%M:%S"
+ """
return _wrap_strftime(self, fmt, self.timetuple())
def __format__(self, fmt):