[Python-checkins] peps: Fix markup
nick.coghlan
python-checkins at python.org
Mon Mar 4 16:58:02 CET 2013
http://hg.python.org/peps/rev/63b87a7d9832
changeset: 4781:63b87a7d9832
user: Nick Coghlan <ncoghlan at gmail.com>
date: Tue Mar 05 01:57:51 2013 +1000
summary:
Fix markup
files:
pep-0422.txt | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pep-0422.txt b/pep-0422.txt
--- a/pep-0422.txt
+++ b/pep-0422.txt
@@ -268,6 +268,7 @@
------------------------
::
+
class OrderedClass(namespace=collections.OrderedDict()):
a = 1
b = 2
@@ -278,6 +279,7 @@
-----------------------
::
+
seed_data = dict(a=1, b=2, c=3)
class PrepopulatedClass(namespace=seed_data.copy()):
pass
@@ -287,6 +289,7 @@
-------------------------
::
+
class NewClass(namespace=Prototype.__dict__.copy()):
pass
@@ -295,6 +298,7 @@
----------------------------
::
+
class Extensible:
namespace = locals()
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list