On Tue, 25 Aug 2015 12:23:28 -0700 Jay Pipes <jaypi...@gmail.com> wrote:
> On 08/25/2015 10:17 AM, Joshua Harlow wrote: > > Oh, discard everything I say then :) > > > > My brain must still be partially functioning due to vacation, > > haha. > > import functools > > def work(vacation=False): > if not vacation: > get_lots_done() > > back_from_vacation = functools.partial(work, vacation=True) > > There you go, Josh. There's your partial function. > > Best, > -jay I approve of this message, ha. :) __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev