changeset 137:2f0fcba91b04

created
author 127.0.0.1
date Wed, 29 Jan 2014 20:04:31 +0100
parents 4aa42537c47b
children 86e0cb53e631
files new%20style%20class
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/new%20style%20class	Wed Jan 29 20:04:31 2014 +0100
@@ -0,0 +1,11 @@
+**Wrong:**
+{{{#!python
+class C:
+    ...
+}}}
+
+**Better:**
+{{{#!python
+class C(object):
+    ...
+}}}
\ No newline at end of file