Mastering Python Second Edition Release Code

This commit is contained in:
Rick van Hattem
2022-05-05 18:25:55 +02:00
commit 3223a43fe3
454 changed files with 20230 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
class A(object):
def __init__(self, arg, *args, **kwargs):
pass
def regular_method(self, arg):
pass
@classmethod
def decorated_method(self, arg):
pass
def _hidden_method(self):
pass
+11
View File
@@ -0,0 +1,11 @@
from . import a
class B(a.A):
def regular_method(self):
'''This regular method overrides
:meth:`a.A.regular_method`
'''
pass