Changeset 339
- Timestamp:
- 06/21/08 01:15:03 (4 years ago)
- Files:
-
- 1 modified
-
hodgestar/Talks/PythonObjects/pyobjects.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hodgestar/Talks/PythonObjects/pyobjects.py
r337 r339 62 62 return result + '</head>\n<body>\n' 63 63 64 class MySlide(Slide): 65 _Slide = Slide 66 def toHTML(self): 67 html = self._Slide.toHTML(self) 68 return "<div style='margin: auto; width: 50%;'>" + html + "</div>" 69 70 Slide = MySlide 64 71 65 72 l = MyLecture( … … 83 90 (<type 'type'>, <class '__main__.New'>) 84 91 """)), 92 ), 93 Slide("Gambolling With Slots", 85 94 ), 86 95 Slide("Strings", … … 169 178 """)), 170 179 ), 171 Slide("Gamboling With Slots", 180 Slide("Floats", 181 Bullet("Like ints in 2.6, only in 3.0 as well."), 182 Bullet("You won't get your memory back."), 183 Bullet("Maybe we could remove this, run some tests and submit a patch (checking bug tracker first, of course)?"), 184 Bullet("Perhaps just use numpy?"), 172 185 ), 173 186 Slide("PyObject C API",
