\doxysection{py Namespace Reference}
\hypertarget{namespacepy}{}\label{namespacepy}\index{py@{py}}
\doxysubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{classpy_1_1GIL__guard}{GIL\+\_\+guard}}
\begin{DoxyCompactList}\small\item\em The GIL. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{classpy_1_1NPArray}{NPArray}}
\item 
class \mbox{\hyperlink{classpy_1_1Object}{Object}}
\begin{DoxyCompactList}\small\item\em NOTE\+: This does not do any automatic reference counting. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{classpy_1_1BorrowedRef}{Borrowed\+Ref}}
\item 
class \mbox{\hyperlink{classpy_1_1ObjectRef}{Object\+Ref}}
\item 
struct \mbox{\hyperlink{structpy_1_1DictIterator}{Dict\+Iterator}}
\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename Ty = Py\+Object$>$ }\\Ty \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a0ea3c0678224f6593a68a2ede6426465}{Value\+Error}} (const char \texorpdfstring{$\ast$}{*}s)
\begin{DoxyCompactList}\small\item\em Error return helpers. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Ty = Py\+Object$>$ }\\Ty \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a1d8b4529fff5c481e9c39b57d9d29f46}{Memory\+Error}} (const char \texorpdfstring{$\ast$}{*}s)
\item 
{\footnotesize template$<$typename Ty = Py\+Object$>$ }\\Ty \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a1a0e85ea7a86d711c78cdc9ebc5d74de}{Exception}} (Py\+Object \texorpdfstring{$\ast$}{*}exc, const char \texorpdfstring{$\ast$}{*}s)
\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a5d49a4d14e4aebcf2ebcafb6f6f0a728}{Exception}} (const std\+::exception \&e)
\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a54fc6f6085c99c46e234e8132b457057}{String}} (const char \texorpdfstring{$\ast$}{*}s)
\begin{DoxyCompactList}\small\item\em Conversion to Python. \end{DoxyCompactList}\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_aef26d0fc7253f98f9905a4aab093497b}{String}} (const std\+::string \&s)
\item 
bool \mbox{\hyperlink{namespacepy_a929c0f0bab512bc212dce5dc6f847681}{Tuple\+N\+\_\+\+Check}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}}, \mbox{\hyperlink{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d}{uint}} n)
\begin{DoxyCompactList}\small\item\em Conversion from Python. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{namespacepy_abdbbc54cd99e85395e07273847234f90}{Tuple\+Min\+\_\+\+Check}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}}, \mbox{\hyperlink{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d}{uint}} n)
\item 
double \mbox{\hyperlink{namespacepy_a694ae181e72334a124abbc16b4e7508a}{Number\+\_\+\+As\+Double}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\item 
bool \mbox{\hyperlink{namespacepy_a0010b2909266fdb823e469ea0cf32015}{String\+\_\+\+Check}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\item 
std\+::string \mbox{\hyperlink{namespacepy_a3ae745ca47e254accbe3f1c8e7a1c3fe}{String\+\_\+\+As\+Std\+String}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\item 
std\+::string\+\_\+view \mbox{\hyperlink{namespacepy_a63c43bd98ae454e4a732eda7bc861e7c}{String\+\_\+\+As\+String\+View}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\item 
std\+::string \mbox{\hyperlink{namespacepy_aaebcd38e199a3d7e3bc1e9706685bfe2}{String\+\_\+\+As\+Std\+String}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}}, const char \texorpdfstring{$\ast$}{*}error)
\item 
void \mbox{\hyperlink{namespacepy_a574781882a35a9444e6de903402e656d}{Dict\+\_\+\+Steal\+Item\+String}} (Py\+Object \texorpdfstring{$\ast$}{*}dict, const char \texorpdfstring{$\ast$}{*}key, Py\+Object \texorpdfstring{$\ast$}{*}v)
\item 
void \mbox{\hyperlink{namespacepy_ad270c2ce47c665a90510cf03f14122a9}{Dict\+\_\+\+Steal\+Item}} (Py\+Object \texorpdfstring{$\ast$}{*}dict, Py\+Object \texorpdfstring{$\ast$}{*}key, Py\+Object \texorpdfstring{$\ast$}{*}v)
\item 
void \mbox{\hyperlink{namespacepy_acee42443890639db054c2acb32485460}{DECREF\+\_\+safe}} (Py\+Object \texorpdfstring{$\ast$}{*}v)
\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a2afa12246591fa73deb669310975ad8f}{None}} ()
\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a1554550374e1a86d95114645a4b5db5f}{New\+Ref}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\item 
void \mbox{\hyperlink{namespacepy_ade6b712ee49ce2079da3ecf51156a930}{\+\_\+capsule\+Dtor}} (Py\+Object \texorpdfstring{$\ast$}{*}capsule)
\end{DoxyCompactItemize}


\label{doc-func-members}
\Hypertarget{namespacepy_doc-func-members}
\doxysubsection{Function Documentation}
\Hypertarget{namespacepy_ade6b712ee49ce2079da3ecf51156a930}\index{py@{py}!\_capsuleDtor@{\_capsuleDtor}}
\index{\_capsuleDtor@{\_capsuleDtor}!py@{py}}
\doxysubsubsection{\texorpdfstring{\_capsuleDtor()}{\_capsuleDtor()}}
{\footnotesize\ttfamily \label{namespacepy_ade6b712ee49ce2079da3ecf51156a930} 
void py\+::\+\_\+capsule\+Dtor (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{capsule}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_acee42443890639db054c2acb32485460}\index{py@{py}!DECREF\_safe@{DECREF\_safe}}
\index{DECREF\_safe@{DECREF\_safe}!py@{py}}
\doxysubsubsection{\texorpdfstring{DECREF\_safe()}{DECREF\_safe()}}
{\footnotesize\ttfamily \label{namespacepy_acee42443890639db054c2acb32485460} 
void py\+::\+DECREF\+\_\+safe (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{v}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_ad270c2ce47c665a90510cf03f14122a9}\index{py@{py}!Dict\_StealItem@{Dict\_StealItem}}
\index{Dict\_StealItem@{Dict\_StealItem}!py@{py}}
\doxysubsubsection{\texorpdfstring{Dict\_StealItem()}{Dict\_StealItem()}}
{\footnotesize\ttfamily \label{namespacepy_ad270c2ce47c665a90510cf03f14122a9} 
void py\+::\+Dict\+\_\+\+Steal\+Item (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{dict}{, }\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{key}{, }\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{v}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a574781882a35a9444e6de903402e656d}\index{py@{py}!Dict\_StealItemString@{Dict\_StealItemString}}
\index{Dict\_StealItemString@{Dict\_StealItemString}!py@{py}}
\doxysubsubsection{\texorpdfstring{Dict\_StealItemString()}{Dict\_StealItemString()}}
{\footnotesize\ttfamily \label{namespacepy_a574781882a35a9444e6de903402e656d} 
void py\+::\+Dict\+\_\+\+Steal\+Item\+String (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{dict}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{key}{, }\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{v}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a5d49a4d14e4aebcf2ebcafb6f6f0a728}\index{py@{py}!Exception@{Exception}}
\index{Exception@{Exception}!py@{py}}
\doxysubsubsection{\texorpdfstring{Exception()}{Exception()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{namespacepy_a5d49a4d14e4aebcf2ebcafb6f6f0a728} 
Py\+Object \texorpdfstring{$\ast$}{*} py\+::\+Exception (\begin{DoxyParamCaption}\item[{const std\+::exception \&}]{e}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a1a0e85ea7a86d711c78cdc9ebc5d74de}\index{py@{py}!Exception@{Exception}}
\index{Exception@{Exception}!py@{py}}
\doxysubsubsection{\texorpdfstring{Exception()}{Exception()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{namespacepy_a1a0e85ea7a86d711c78cdc9ebc5d74de} 
template$<$typename Ty = Py\+Object$>$ \\
Ty \texorpdfstring{$\ast$}{*} py\+::\+Exception (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{exc}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{s}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a1d8b4529fff5c481e9c39b57d9d29f46}\index{py@{py}!MemoryError@{MemoryError}}
\index{MemoryError@{MemoryError}!py@{py}}
\doxysubsubsection{\texorpdfstring{MemoryError()}{MemoryError()}}
{\footnotesize\ttfamily \label{namespacepy_a1d8b4529fff5c481e9c39b57d9d29f46} 
template$<$typename Ty = Py\+Object$>$ \\
Ty \texorpdfstring{$\ast$}{*} py\+::\+Memory\+Error (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{s}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a1554550374e1a86d95114645a4b5db5f}\index{py@{py}!NewRef@{NewRef}}
\index{NewRef@{NewRef}!py@{py}}
\doxysubsubsection{\texorpdfstring{NewRef()}{NewRef()}}
{\footnotesize\ttfamily \label{namespacepy_a1554550374e1a86d95114645a4b5db5f} 
Py\+Object \texorpdfstring{$\ast$}{*} py\+::\+New\+Ref (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{py}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a2afa12246591fa73deb669310975ad8f}\index{py@{py}!None@{None}}
\index{None@{None}!py@{py}}
\doxysubsubsection{\texorpdfstring{None()}{None()}}
{\footnotesize\ttfamily \label{namespacepy_a2afa12246591fa73deb669310975ad8f} 
Py\+Object \texorpdfstring{$\ast$}{*} py\+::\+None (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a694ae181e72334a124abbc16b4e7508a}\index{py@{py}!Number\_AsDouble@{Number\_AsDouble}}
\index{Number\_AsDouble@{Number\_AsDouble}!py@{py}}
\doxysubsubsection{\texorpdfstring{Number\_AsDouble()}{Number\_AsDouble()}}
{\footnotesize\ttfamily \label{namespacepy_a694ae181e72334a124abbc16b4e7508a} 
double py\+::\+Number\+\_\+\+As\+Double (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{py}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a54fc6f6085c99c46e234e8132b457057}\index{py@{py}!String@{String}}
\index{String@{String}!py@{py}}
\doxysubsubsection{\texorpdfstring{String()}{String()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{namespacepy_a54fc6f6085c99c46e234e8132b457057} 
Py\+Object \texorpdfstring{$\ast$}{*} py\+::\+String (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{s}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Conversion to Python. 

\Hypertarget{namespacepy_aef26d0fc7253f98f9905a4aab093497b}\index{py@{py}!String@{String}}
\index{String@{String}!py@{py}}
\doxysubsubsection{\texorpdfstring{String()}{String()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{namespacepy_aef26d0fc7253f98f9905a4aab093497b} 
Py\+Object \texorpdfstring{$\ast$}{*} py\+::\+String (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{s}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a3ae745ca47e254accbe3f1c8e7a1c3fe}\index{py@{py}!String\_AsStdString@{String\_AsStdString}}
\index{String\_AsStdString@{String\_AsStdString}!py@{py}}
\doxysubsubsection{\texorpdfstring{String\_AsStdString()}{String\_AsStdString()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{namespacepy_a3ae745ca47e254accbe3f1c8e7a1c3fe} 
std\+::string py\+::\+String\+\_\+\+As\+Std\+String (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{py}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_aaebcd38e199a3d7e3bc1e9706685bfe2}\index{py@{py}!String\_AsStdString@{String\_AsStdString}}
\index{String\_AsStdString@{String\_AsStdString}!py@{py}}
\doxysubsubsection{\texorpdfstring{String\_AsStdString()}{String\_AsStdString()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{namespacepy_aaebcd38e199a3d7e3bc1e9706685bfe2} 
std\+::string py\+::\+String\+\_\+\+As\+Std\+String (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{py}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{error}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a63c43bd98ae454e4a732eda7bc861e7c}\index{py@{py}!String\_AsStringView@{String\_AsStringView}}
\index{String\_AsStringView@{String\_AsStringView}!py@{py}}
\doxysubsubsection{\texorpdfstring{String\_AsStringView()}{String\_AsStringView()}}
{\footnotesize\ttfamily \label{namespacepy_a63c43bd98ae454e4a732eda7bc861e7c} 
std\+::string\+\_\+view py\+::\+String\+\_\+\+As\+String\+View (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{py}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a0010b2909266fdb823e469ea0cf32015}\index{py@{py}!String\_Check@{String\_Check}}
\index{String\_Check@{String\_Check}!py@{py}}
\doxysubsubsection{\texorpdfstring{String\_Check()}{String\_Check()}}
{\footnotesize\ttfamily \label{namespacepy_a0010b2909266fdb823e469ea0cf32015} 
bool py\+::\+String\+\_\+\+Check (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{py}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_abdbbc54cd99e85395e07273847234f90}\index{py@{py}!TupleMin\_Check@{TupleMin\_Check}}
\index{TupleMin\_Check@{TupleMin\_Check}!py@{py}}
\doxysubsubsection{\texorpdfstring{TupleMin\_Check()}{TupleMin\_Check()}}
{\footnotesize\ttfamily \label{namespacepy_abdbbc54cd99e85395e07273847234f90} 
bool py\+::\+Tuple\+Min\+\_\+\+Check (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{py}{, }\item[{\mbox{\hyperlink{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d}{uint}}}]{n}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\Hypertarget{namespacepy_a929c0f0bab512bc212dce5dc6f847681}\index{py@{py}!TupleN\_Check@{TupleN\_Check}}
\index{TupleN\_Check@{TupleN\_Check}!py@{py}}
\doxysubsubsection{\texorpdfstring{TupleN\_Check()}{TupleN\_Check()}}
{\footnotesize\ttfamily \label{namespacepy_a929c0f0bab512bc212dce5dc6f847681} 
bool py\+::\+Tuple\+N\+\_\+\+Check (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{py}{, }\item[{\mbox{\hyperlink{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d}{uint}}}]{n}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Conversion from Python. 

\Hypertarget{namespacepy_a0ea3c0678224f6593a68a2ede6426465}\index{py@{py}!ValueError@{ValueError}}
\index{ValueError@{ValueError}!py@{py}}
\doxysubsubsection{\texorpdfstring{ValueError()}{ValueError()}}
{\footnotesize\ttfamily \label{namespacepy_a0ea3c0678224f6593a68a2ede6426465} 
template$<$typename Ty = Py\+Object$>$ \\
Ty \texorpdfstring{$\ast$}{*} py\+::\+Value\+Error (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{s}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Error return helpers. 

