WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 13725232 authored by Tobias Pape's avatar Tobias Pape
Browse files

str.startswith only takes one arg (+self) in rpython

parent 5333a7b6
......@@ -81,7 +81,7 @@ class Lexer(object):
elif self._current_char() == '.':
elif self._current_char() == '-':
if self._buf.startswith(self._SEPARATOR, self._bufp):
if self._buf[self._bufp:].startswith(self._SEPARATOR):
self._text = ""
while self._current_char() == '-':
self._text += self._bufchar(self._bufp)
......@@ -128,7 +128,7 @@ class Lexer(object):
elif self._current_char() == '%':
elif self._buf.startswith(self._PRIMITIVE, self._bufp):
elif self._buf[self._bufp:].startswith(self._PRIMITIVE):
self._bufp += len(self._PRIMITIVE)
self._sym = Symbol.Primitive
self._symc = '\0'
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