Skip to content

aj07mm/design_patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gof patterns

ways to implement interfaces with python

import abc

class Animal(object):

    __metaclass__ = abc.ABCMeta

    @abc.abstractmethod
    def method_to_implement(self, input):
        return

class Animal:

    def andar(self):
        raise NotImplementedError("Animais precisam implementar andar")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages