ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH

Reference
ActivePython 2.5
Python Documentation
Language Reference
2. Lexical analysis
2.3 Identifiers and keywords
2.3.1 Keywords
2.3.2 Reserved classes of identifiers

MyASPN >> Reference >> ActivePython 2.5 >> Python Documentation >> Language Reference >> 2. Lexical analysis
ActivePython 2.5 documentation


2.3 Identifiers and keywords

Identifiers (also referred to as names) are described by the following lexical definitions:

identifier ::= (letter|"_") (letter | digit | "_")*
letter ::= lowercase | uppercase
lowercase ::= "a"..."z"
uppercase ::= "A"..."Z"
digit ::= "0"..."9"
Download entire grammar as text.

Identifiers are unlimited in length. Case is significant.



See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved