Commit fb3ced66 authored by Raymond Hettinger's avatar Raymond Hettinger

Minor markup fix

parent 9a359210
...@@ -533,7 +533,7 @@ faster versions that bypass error-checking and localize variable access:: ...@@ -533,7 +533,7 @@ faster versions that bypass error-checking and localize variable access::
def _replace(self, _map=map, **kwds): def _replace(self, _map=map, **kwds):
return self._make(_map(kwds.pop, ('x', 'y'), self)) return self._make(_map(kwds.pop, ('x', 'y'), self))
Default values can be implemented by using :meth:`_replace`:: to Default values can be implemented by using :meth:`_replace` to
customize a prototype instance:: customize a prototype instance::
>>> Account = namedtuple('Account', 'owner balance transaction_count') >>> Account = namedtuple('Account', 'owner balance transaction_count')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment