Closes the current scope. This method will be called automatically when the descructor is executed.
builder = docbuilder.CDocBuilder() context = builder.GetContext() scope = context.CreateScope() scope.Close()