AnonSec Shell
Server IP : 92.204.138.22  /  Your IP : 3.137.184.228
Web Server : Apache
System : Linux ns1009439.ip-92-204-138.us 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
User : internationaljou ( 1019)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.6/site-packages/pydbus/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /usr/lib/python3.6/site-packages/pydbus//_inspect3.py
from collections import OrderedDict
from inspect import getargspec

class _empty:
	pass

class Signature:
	empty = _empty

	def __init__(self, parameters=None, return_annotation=_empty):
		self.parameters = OrderedDict(((param.name, param) for param in parameters))
		self.return_annotation = return_annotation

class Parameter:
	empty = _empty

	POSITIONAL_ONLY = 0
	POSITIONAL_OR_KEYWORD = 1
	KEYWORD_ONLY = 999

	def __init__(self, name, kind, default=_empty, annotation=_empty):
		self.name = name
		self.kind = kind
		self.annotation = annotation

def signature(f):
	parameters = [Parameter(arg, Parameter.POSITIONAL_OR_KEYWORD) for arg in getargspec(f).args]
	return Signature(parameters = parameters)

Anon7 - 2022
AnonSec Team