44 |
def has_key(self, name): |
def has_key(self, name): |
45 |
return self.dict.has_key(name) |
return self.dict.has_key(name) |
46 |
|
|
47 |
def resist(self): |
def copy(self): |
48 |
'''Resistance is futile, but we resist anyway. Returns a |
'''Resistance is futile, but we resist anyway. Returns a |
49 |
non-borgified list.''' |
non-borgified list.''' |
50 |
return self.dict.copy() |
return self.dict.copy() |
51 |
|
|
52 |
|
def restore(self, l): |
53 |
|
self.dict=l |
54 |
|
|
55 |
""" |
""" |
56 |
Stores global settings for metapost actions. |
Stores global settings for metapost actions. |
57 |
""" |
""" |