Sideway
output.to from Sideway
Draft for Information Only

Content

Python Special Literal
 Boolean Objects
 None Object
 Source and Reference

Python Special Literal

In general sense, Python special literals are reserved keywords which are used as literal constants. The typical Python special literals are boolean literals and none literal. These Python special literals are Python objects of class types.

Boolean Objects

Python boolean is implemented as a subclass of integer. There are only two boolean types, Py_False and Py_True. A Boolean literal can have any of the two values: Python True or Python False. True and False are simply built-in named values for the Boolean objects. True and False are defined as Boolean logic True and False. image

None Object

Python None is implemented as a subclass of integer. There are only one none type, Py_None. None is a special literal to name the Python None type class. None is simply a built-in name for the Python None object. None is defined as a null value, no value at all, or the object has not been created. To an object, empty is defined as a value with no element with reference to the object, while no value at all is defined as no reference to the object at all. image

Source and Reference


©sideway

ID: 210100005 Last Updated: 5/1/2021 Revision: 0

IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 337

Reference 67

Computer

Hardware 151

Software

Application 202

Digitization 25

Latex 10

Manim 159

Numeric 19

Programming

Web 285

Unicode 495

HTML 65

CSS 59

ASP.NET 194

OS 391

DeskTop 7

Python 46

Knowledge

Mathematics

Formulas 8

Algebra 29

Number Theory 206

Trigonometry 18

Geometry 18

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Electric 27

Biology 1

Geography 1


Copyright © 2000-2021 Sideway . All rights reserved Disclaimers last modified on 06 September 2019