[Python-checkins] peps: PEP 418: Replace "API design" title with "Alternatives: API design"

victor.stinner python-checkins at python.org
Tue Mar 27 19:40:09 CEST 2012


http://hg.python.org/peps/rev/55f86fc224d5
changeset:   4155:55f86fc224d5
user:        Victor Stinner <vstinner at wyplay.com>
date:        Tue Mar 27 19:40:24 2012 +0200
summary:
  PEP 418: Replace "API design" title with "Alternatives: API design"

files:
  pep-0418.txt |  11 +++--------
  1 files changed, 3 insertions(+), 8 deletions(-)


diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -340,15 +340,8 @@
 
 
 
-API design
-==========
-
-Two functions: time.monotonic(), time.try_monotonic()
------------------------------------------------------
-
- * time.try_monotonic() falls back to another clock if no monotonic clock is not
-   available or does not work, but it does never fail.
- * time.monotonic() is not always available and may raise OSError.
+Alternatives: API design
+========================
 
 One function with a flag: time.try_monotonic(strict=False)
 ----------------------------------------------------------
@@ -364,6 +357,7 @@
 Raising NotImplementedError for a function is something uncommon in Python and
 should be avoided.
 
+
 One function, no flag
 ---------------------
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list