1 | initial version |
Hi,
Python is object oriented (see Python doc about classes) and what you call functions are actually methods, i.e. they belong to their class. The point is that you can have different implementation of the objects and keep the same interface. In this particular case, given any function field you will use
sage: K.base_field()
to get the base field.
For the existence of the two classes, it is explicitly said in the documentation:
Vincent