Return a new context with the same properties, but with only the values given in 'values' stored.
(self, values=None)
| 111 | return default |
| 112 | |
| 113 | def new(self, values=None): |
| 114 | """ |
| 115 | Return a new context with the same properties, but with only the |
| 116 | values given in 'values' stored. |
| 117 | """ |
| 118 | new_context = copy(self) |
| 119 | new_context._reset_dicts(values) |
| 120 | return new_context |
| 121 | |
| 122 | def flatten(self): |
| 123 | """ |
no test coverage detected