I got idea by listening that decorators are replacing inheritance in PyCon 2019 talk.
some reasons are listed here -

  
      stackoverflow.com
  
  
      
    
  

  Decorator pattern versus sub classing 21



  design-patterns, decorator



  asked by
  
  
    Gainster
  
  on 12:52PM - 30 Jan 11 UTC