[Python-checkins] cpython: Remove class that was only useful with Sphinx autodoc

eric.araujo python-checkins at python.org
Fri Aug 19 14:25:17 CEST 2011


http://hg.python.org/cpython/rev/f88ee60da4c6
changeset:   71927:f88ee60da4c6
parent:      71901:53ceb549c458
user:        Éric Araujo <merwok at netwok.org>
date:        Fri Aug 19 00:53:04 2011 +0200
summary:
  Remove class that was only useful with Sphinx autodoc

files:
  Lib/packaging/metadata.py |  8 --------
  1 files changed, 0 insertions(+), 8 deletions(-)


diff --git a/Lib/packaging/metadata.py b/Lib/packaging/metadata.py
--- a/Lib/packaging/metadata.py
+++ b/Lib/packaging/metadata.py
@@ -182,14 +182,6 @@
 _MISSING = object()
 
 
-class NoDefault:
-    """Marker object used for clean representation"""
-    def __repr__(self):
-        return '<NoDefault>'
-
-_MISSING = NoDefault()
-
-
 class Metadata:
     """The metadata of a release.
 

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


More information about the Python-checkins mailing list