diff @pyobject/subsref.m @ 248:2e4c9ce0c83c

maint: prefer Octave lowercase naming convention to camelCase * pycall.cc, @pyobject/subsref.m: Name function variable "is_none" instead of "isNone" for consistency.
author Mike Miller <mtmiller@octave.org>
date Wed, 27 Jul 2016 17:42:22 -0700
parents 4acc64f89d67
children daf1aff501f1 decd3bd7da7e
line wrap: on
line diff
--- a/@pyobject/subsref.m	Wed Jul 27 17:20:01 2016 -0700
+++ b/@pyobject/subsref.m	Wed Jul 27 17:42:22 2016 -0700
@@ -74,8 +74,8 @@
   endif
 
   ## unpack results, ensure "ans" works (see also pycall)
-  isNone = pyeval ("lambda x: x is None");
-  if (nargout > 0 || ! pycall (isNone, r))
+  is_none = pyeval ("lambda x: x is None");
+  if (nargout > 0 || ! pycall (is_none, r))
     varargout{1} = r;
   endif
 endfunction