Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a94dfc

Browse files
committed
Erase all memory of the access statement
1 parent 25b361f commit 0a94dfc

4 files changed

Lines changed: 2 additions & 76 deletions

File tree

Doc/ref/ref2.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,12 @@ \subsection{Keywords}
181181
\index{reserved word}
182182

183183
\begin{verbatim}
184-
access del from lambda return
185184
and elif global not try
186185
break else if or while
187186
class except import pass
188187
continue finally in print
189188
def for is raise
189+
del from lambda return
190190
\end{verbatim}
191191

192192
% When adding keywords, pipe it through keywords.py for reformatting

Doc/ref/ref6.tex

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ \chapter{Simple statements}
1717
| continue_stmt
1818
| import_stmt
1919
| global_stmt
20-
| access_stmt
2120
| exec_stmt
2221
\end{verbatim}
2322

@@ -511,39 +510,3 @@ \section{The {\tt global} statement} \label{global}
511510
\ttindex{eval}
512511
\ttindex{execfile}
513512
\ttindex{compile}
514-
515-
\section{The {\tt access} statement} \label{access}
516-
\stindex{access}
517-
518-
\begin{verbatim}
519-
access_stmt: "access" ...
520-
\end{verbatim}
521-
522-
This statement is obsolete. It no longer generates any code; in the
523-
future, \verb@access@ will no longer be a reserved word.
524-
525-
\section{The {\tt exec} statement} \label{exec}
526-
\stindex{exec}
527-
528-
\begin{verbatim}
529-
exec_stmt: "exec" expression ["in" expression ["," expression]]
530-
\end{verbatim}
531-
532-
This statement supports dynamic execution of Python code. The first
533-
expression should evaluate to either a string, an open file object, or
534-
a code object. If it is a string, the string is parsed as a suite of
535-
Python statements which is then executed (unless a syntax error
536-
occurs). If it is an open file, the file is parsed until EOF and
537-
executed. If it is a code object, it is simply executed.
538-
539-
In all cases, if the optional parts are omitted, the code is executed
540-
in the current scope. If only the first expression after \verb@in@ is
541-
specified, it should be a dictionary, which will be used for both the
542-
global and the local variables. If two expressions are given, both
543-
must be dictionaries and they are used for the global and local
544-
variables, respectively.
545-
546-
Hints: dynamic evaluation of expressions is supported by the built-in
547-
function \verb@eval()@. The built-in functions \verb@globals()@ and
548-
\verb@locals()@ return the current global and local dictionary,
549-
respectively, which may be useful to pass around for use by \verb@exec@.

Doc/ref2.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,12 @@ \subsection{Keywords}
181181
\index{reserved word}
182182

183183
\begin{verbatim}
184-
access del from lambda return
185184
and elif global not try
186185
break else if or while
187186
class except import pass
188187
continue finally in print
189188
def for is raise
189+
del from lambda return
190190
\end{verbatim}
191191

192192
% When adding keywords, pipe it through keywords.py for reformatting

Doc/ref6.tex

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ \chapter{Simple statements}
1717
| continue_stmt
1818
| import_stmt
1919
| global_stmt
20-
| access_stmt
2120
| exec_stmt
2221
\end{verbatim}
2322

@@ -511,39 +510,3 @@ \section{The {\tt global} statement} \label{global}
511510
\ttindex{eval}
512511
\ttindex{execfile}
513512
\ttindex{compile}
514-
515-
\section{The {\tt access} statement} \label{access}
516-
\stindex{access}
517-
518-
\begin{verbatim}
519-
access_stmt: "access" ...
520-
\end{verbatim}
521-
522-
This statement is obsolete. It no longer generates any code; in the
523-
future, \verb@access@ will no longer be a reserved word.
524-
525-
\section{The {\tt exec} statement} \label{exec}
526-
\stindex{exec}
527-
528-
\begin{verbatim}
529-
exec_stmt: "exec" expression ["in" expression ["," expression]]
530-
\end{verbatim}
531-
532-
This statement supports dynamic execution of Python code. The first
533-
expression should evaluate to either a string, an open file object, or
534-
a code object. If it is a string, the string is parsed as a suite of
535-
Python statements which is then executed (unless a syntax error
536-
occurs). If it is an open file, the file is parsed until EOF and
537-
executed. If it is a code object, it is simply executed.
538-
539-
In all cases, if the optional parts are omitted, the code is executed
540-
in the current scope. If only the first expression after \verb@in@ is
541-
specified, it should be a dictionary, which will be used for both the
542-
global and the local variables. If two expressions are given, both
543-
must be dictionaries and they are used for the global and local
544-
variables, respectively.
545-
546-
Hints: dynamic evaluation of expressions is supported by the built-in
547-
function \verb@eval()@. The built-in functions \verb@globals()@ and
548-
\verb@locals()@ return the current global and local dictionary,
549-
respectively, which may be useful to pass around for use by \verb@exec@.

0 commit comments

Comments
 (0)