To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit ac3559c0 authored by Stefan Marr's avatar Stefan Marr
Browse files

Make naming a little more clear by indicating methods as private


Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent d831dfd3
......@@ -52,11 +52,11 @@ class Primitive(Object, Invokable):
@classmethod
def get_empty_primitive(cls, signature_string, universe):
# Return an empty primitive with the given signature
def invoke(self, frame, interpreter):
def _invoke(self, frame, interpreter):
# Write a warning to the screen
universe.std_println("Warning: undefined primitive " +
self.get_signature().get_string() + " called")
# The empty primitives are empty
def is_empty(self): return True
return Primitive(signature_string, universe, invoke, is_empty)
def _is_empty(self): return True
return Primitive(signature_string, universe, _invoke, _is_empty)
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