File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -509,13 +509,6 @@ class FuncBase(Node):
509509 "_fullname" ,
510510 )
511511
512- is_static : bool
513- """Is this a `@staticmethod` (explicit or implicit)?
514-
515- This shouldn't be used to check that there's `self` or `cls` argument.
516- Use :py:attr:`has_self_or_cls_argument` instead.
517- """
518-
519512 def __init__ (self ) -> None :
520513 super ().__init__ ()
521514 # Type signature. This is usually CallableType or Overloaded, but it can be
@@ -527,6 +520,8 @@ def __init__(self) -> None:
527520 self .info = FUNC_NO_INFO
528521 self .is_property = False
529522 self .is_class = False
523+ # Is this a `@staticmethod` (explicit or implicit)?
524+ # Note: use has_self_or_cls_argument to check if ther is `self` or `cls` argument
530525 self .is_static = False
531526 self .is_final = False
532527 self .is_explicit_override = False
You can’t perform that action at this time.
0 commit comments