Adds an extension after the environment was created. .. versionadded:: 2.5
(self, extension)
| 338 | _environment_sanity_check(self) |
| 339 | |
| 340 | def add_extension(self, extension): |
| 341 | """Adds an extension after the environment was created. |
| 342 | |
| 343 | .. versionadded:: 2.5 |
| 344 | """ |
| 345 | self.extensions.update(load_extensions(self, [extension])) |
| 346 | |
| 347 | def extend(self, **attributes): |
| 348 | """Add the items to the instance of the environment if they do not exist |
nothing calls this directly
no test coverage detected