What is the equivalent of the C# "using" block in IronPython?

Viewed 6973

What's the equivalent of this in IronPython? Is it just a try-finally block?

using (var something = new ClassThatImplementsIDisposable())
{
  // stuff happens here
}
5 Answers
Related