This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
class Ray(object): | |
def __init__(self, origin, direction): | |
self.origin = origin | |
self.direction = direction | |
class Point(object): | |
def __init__(self, x, y, z): | |
self.x = x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r fe49604b5709 lib/sysfont.py | |
--- a/lib/sysfont.py Fri Aug 19 18:14:22 2011 -0700 | |
+++ b/lib/sysfont.py Mon Aug 22 12:05:57 2011 -0400 | |
@@ -581,14 +581,25 @@ | |
if not styles: | |
styles = Sysalias.get(name) | |
if styles: | |
- while not fontname: | |
- plainname = styles.get((False, False)) | |
- fontname = styles.get((bold, italic)) |