commit | 28053fb174cd548629b8c94cba02ce837aeb9e5b | [log] [tgz] |
---|---|---|
author | Éric Araujo <merwok@netwok.org> | Mon Nov 22 03:09:19 2010 +0000 |
committer | Éric Araujo <merwok@netwok.org> | Mon Nov 22 03:09:19 2010 +0000 |
tree | b5450a4b4e121f3a9b649aa4f6e00a4dcbde88bf | |
parent | d4bbab278fc5021f5adbf4ae336e2754ca2037b3 [diff] [blame] |
Remove unnecessary `object` base class in docs (#10366). Also add a note about inheritance from `object` being default.
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 349df00..63b25bb 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst
@@ -1312,7 +1312,7 @@ that is normally used. This can be achieved by specifying the ``namespace=`` keyword argument:: - >>> class C(object): + >>> class C: ... pass ... >>> c = C()