| 
									
										
										
										
											2015-04-03 23:53:51 +03:00
										 |  |  | /*[clinic input]
 | 
					
						
							|  |  |  | preserve | 
					
						
							|  |  |  | [clinic start generated code]*/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | PyDoc_STRVAR(_codecs__forget_codec__doc__, | 
					
						
							|  |  |  | "_forget_codec($module, encoding, /)\n" | 
					
						
							|  |  |  | "--\n" | 
					
						
							|  |  |  | "\n" | 
					
						
							|  |  |  | "Purge the named codec from the internal codec lookup cache"); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define _CODECS__FORGET_CODEC_METHODDEF    \
 | 
					
						
							| 
									
										
										
										
											2015-04-04 00:12:11 +03:00
										 |  |  |     {"_forget_codec", (PyCFunction)_codecs__forget_codec, METH_O, _codecs__forget_codec__doc__}, | 
					
						
							| 
									
										
										
										
											2015-04-03 23:53:51 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | static PyObject * | 
					
						
							|  |  |  | _codecs__forget_codec_impl(PyModuleDef *module, const char *encoding); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | static PyObject * | 
					
						
							| 
									
										
										
										
											2015-04-04 00:12:11 +03:00
										 |  |  | _codecs__forget_codec(PyModuleDef *module, PyObject *arg) | 
					
						
							| 
									
										
										
										
											2015-04-03 23:53:51 +03:00
										 |  |  | { | 
					
						
							|  |  |  |     PyObject *return_value = NULL; | 
					
						
							|  |  |  |     const char *encoding; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-24 00:40:51 +03:00
										 |  |  |     if (!PyArg_Parse(arg, "s:_forget_codec", &encoding)) | 
					
						
							| 
									
										
										
										
											2015-04-03 23:53:51 +03:00
										 |  |  |         goto exit; | 
					
						
							|  |  |  |     return_value = _codecs__forget_codec_impl(module, encoding); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | exit: | 
					
						
							|  |  |  |     return return_value; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2015-04-24 00:40:51 +03:00
										 |  |  | /*[clinic end generated code: output=52cc017e06c8ef9a input=a9049054013a1b77]*/ |