mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
...
This commit is contained in:
parent
31cbb8b652
commit
6c821f35ea
@ -22,7 +22,7 @@
|
||||
#include <random>
|
||||
#include <bitset>
|
||||
|
||||
#define PK_VERSION "1.2.5"
|
||||
#define PK_VERSION "1.2.6"
|
||||
|
||||
#include "config.h"
|
||||
#include "export.h"
|
||||
|
@ -577,7 +577,10 @@ __NEXT_STEP:;
|
||||
TOP() = py_negate(TOP());
|
||||
DISPATCH();
|
||||
TARGET(UNARY_NOT)
|
||||
TOP() = VAR(!py_bool(TOP()));
|
||||
_0 = TOP();
|
||||
if(_0==True) TOP()=False;
|
||||
else if(_0==False) TOP()=True;
|
||||
else TOP() = VAR(!py_bool(_0));
|
||||
DISPATCH();
|
||||
TARGET(UNARY_STAR)
|
||||
TOP() = VAR(StarWrapper(byte.arg, TOP()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user