def _get_pool(self, auth, spec):
pool = self.list_pool(auth, spec)<EOL>if len(pool) == <NUM_LIT:0>:<EOL><INDENT>raise NipapInputError("<STR_LIT>")<EOL><DEDENT>return pool[<NUM_LIT:0>]<EOL>
Get a pool.

            Shorthand function to reduce code in the functions below, since
            more or less all of them needs to perform the actions that are
            specified here.

            The major difference to :func:`list_pool` is that an exception
            is raised if no pool matching the spec is found.