diff options
Diffstat (limited to 'lisp/cedet/semantic/wisent/python.el')
-rw-r--r-- | lisp/cedet/semantic/wisent/python.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/cedet/semantic/wisent/python.el b/lisp/cedet/semantic/wisent/python.el index 1edbc05a3a9..f0e294efa62 100644 --- a/lisp/cedet/semantic/wisent/python.el +++ b/lisp/cedet/semantic/wisent/python.el @@ -2,8 +2,7 @@ ;; Copyright (C) 2002, 2004, 2006-2019 Free Software Foundation, Inc. -;; Author: Richard Kim <emacs18@gmail.com> -;; Maintainer: Richard Kim <emacs18@gmail.com> +;; Author: Richard Kim <emacs18@gmail.com> ;; Created: June 2002 ;; Keywords: syntax @@ -41,9 +40,6 @@ (require 'semantic/ctxt) (require 'semantic/format) -(eval-when-compile - (require 'cl)) - ;;; Customization ;; @@ -358,7 +354,7 @@ Set attributes for constructors, special, private and static methods." ;; + first argument is self (when (and (> (length (semantic-tag-function-arguments tag)) 0) (string= (semantic-tag-name - (first (semantic-tag-function-arguments tag))) + (car (semantic-tag-function-arguments tag))) "self")) (semantic-tag-put-attribute tag :parent "dummy")) |