sugar
latest
Installation
SugarJS Differences
Naming Conventions
API Reference
Examples
Upgrading
License
Versioning
Changelog
Authors
Contributing
sugar
Docs
»
SugarJS Differences
Edit on GitHub
SugarJS Differences
¶
Naming Conventions
¶
sugar.py adheres to the following conventions:
Function names use
snake_case
instead of
camelCase
.
Any SugarJS function that shares its name with a reserved Python keyword will have an
_
appended after it (e.g.
from
in sugarjs would be
from_
in sugar.py).
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.