I apologize if this seems like an obvious question, but I cannot find the word to search for to describe this.

I am currently writing this:

```
foo.cat()
foo.dog()
foo.fish()
foo.moose()
foo.horse()
...

```

I'd rather write this:

```
many foo:
    dog()
    cat()
    fish()
    horse()
    ...

```

How can I do this in Python 3? Is there a keyword, or something?