That would get the value of the enumerated type. Under the hood enums are a lot like Dictionaries, including how dictionaries operate in a for loop, by getting the keys.
Try this test out and take a look
enum Test { FOO, BAR }
print(type_string(typeof(Test.FOO))) # int
for i in Test: # same as `for i in Test.keys()`
print(type_string(typeof(i))) # string; string
for i in Test.values():
print(type_string(typeof(i))) # int; int
More from the docs:
If you pass a name to the enum, it will put all the keys inside a constant Dictionary of that name. This means all constant methods of a dictionary can also be used with a named enum.