mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
commit
77f7f28d31
|
@ -1104,7 +1104,7 @@ No: <span class="external"></span>def foo(a, b=FLAGS.my_thing): # sys.argv has
|
||||||
<P class="">
|
<P class="">
|
||||||
<SPAN class="stylepoint_section">Definition: </SPAN>
|
<SPAN class="stylepoint_section">Definition: </SPAN>
|
||||||
|
|
||||||
<a HREF="https://www.python.org/doc/2.4.3/whatsnew/node6.html">Decorators
|
<a HREF="https://www.python.org/dev/peps/pep-0318">Decorators
|
||||||
for Functions and Methods</a>
|
for Functions and Methods</a>
|
||||||
(a.k.a "the <code>@</code> notation").
|
(a.k.a "the <code>@</code> notation").
|
||||||
The most common decorators are <code>@classmethod</code> and
|
The most common decorators are <code>@classmethod</code> and
|
||||||
|
|
Loading…
Reference in New Issue
Block a user