Skip to content

Commit d727754

Browse files
committed
Remove Null primitive
It's unused
1 parent 3fedae8 commit d727754

3 files changed

Lines changed: 3 additions & 35 deletions

File tree

compiler/api/compiler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ def start():
478478

479479
f.write("\n 0xbc799737: \"pyrogram.api.core.BoolFalse\",")
480480
f.write("\n 0x997275b5: \"pyrogram.api.core.BoolTrue\",")
481-
f.write("\n 0x56730bcc: \"pyrogram.api.core.Null\",")
482481
f.write("\n 0x1cb5c415: \"pyrogram.api.core.Vector\",")
483482
f.write("\n 0x73f1f8dc: \"pyrogram.api.core.MsgContainer\",")
484483
f.write("\n 0xae500895: \"pyrogram.api.core.FutureSalts\",")

pyrogram/api/core/primitives/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@
1616
# You should have received a copy of the GNU Lesser General Public License
1717
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

19-
from .bool import Bool, BoolTrue, BoolFalse
19+
from .bool import Bool, BoolFalse, BoolTrue
2020
from .bytes import Bytes
2121
from .double import Double
2222
from .int import Int, Long, Int128, Int256
23-
from .null import Null
2423
from .string import String
2524
from .vector import Vector
25+
26+
__all__ = ["Bool", "BoolFalse", "BoolTrue", "Bytes", "Double", "Int", "Long", "Int128", "Int256", "String", "Vector"]

pyrogram/api/core/primitives/null.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)