Searched refs:__doc__ (Results 1 – 25 of 250) sorted by relevance
12345678910
107 self.assertEqual(sub.__class__.spam.__doc__, "SubClass.getter")113 self.assertEqual(base.__class__.spam.__doc__, "BaseClass.getter")118 self.assertEqual(base.__class__.spam.__doc__, "spam spam spam")119 self.assertEqual(sub.__class__.spam.__doc__, "spam spam spam")126 self.assertEqual(newgettersub.__class__.spam.__doc__, "new docstring")129 self.assertEqual(newgetter.__class__.spam.__doc__, "new docstring")158 self.assertEqual(p.__doc__, 'basic')159 p.__doc__ = 'extended'160 self.assertEqual(p.__doc__, 'extended')173 self.assertEqual(sub.__class__.spam.__doc__, 'Eggs')[all …]
124 self.assertEqual(sub.__class__.__dict__['spam'].__doc__, "SubClass.getter")130 self.assertEqual(base.__class__.__dict__['spam'].__doc__, "BaseClass.getter")135 self.assertEqual(base.__class__.__dict__['spam'].__doc__, "spam spam spam")136 self.assertEqual(sub.__class__.__dict__['spam'].__doc__, "spam spam spam")143 self.assertEqual(newgettersub.__class__.__dict__['spam'].__doc__, "new docstring")146 self.assertEqual(newgetter.__class__.__dict__['spam'].__doc__, "new docstring")218 print('\n',spam.__doc__)233 Foo.__dict__['spam'].__doc__,254 Foo.__dict__['spam'].__doc__,267 FooSub.__dict__['spam'].__doc__,[all …]
354 self.assertEqual(self.b.__doc__, None)356 self.b.__doc__ = docstr357 self.F.a.__doc__ = docstr358 self.assertEqual(self.b.__doc__, docstr)359 self.assertEqual(self.fi.a.__doc__, docstr)363 self.b.__doc__ = "The docstring"364 del self.b.__doc__365 self.assertEqual(self.b.__doc__, None)
57 self.assertEqual(inst.testfunction.__doc__, testfunction.__doc__)58 self.assertEqual(InstanceMethod.testfunction.__doc__, testfunction.__doc__)139 self.assertEqual(_testcapi.no_docstring.__doc__, None)142 self.assertEqual(_testcapi.docstring_empty.__doc__, None)145 self.assertEqual(_testcapi.docstring_no_signature.__doc__,149 self.assertEqual(_testcapi.docstring_with_invalid_signature.__doc__,156 self.assertEqual(_testcapi.docstring_with_invalid_signature2.__doc__,165 self.assertEqual(_testcapi.docstring_with_signature.__doc__,169 self.assertEqual(_testcapi.docstring_with_signature_but_no_doc.__doc__, None)173 self.assertEqual(_testcapi.docstring_with_signature_and_extra_newlines.__doc__,[all …]
32 self.assertEqual(foo.__doc__, ModuleType.__doc__)54 self.assertEqual(foo.__doc__, None)66 self.assertEqual(foo.__doc__, "foodoc")76 self.assertEqual(foo.__doc__, "foodoc\u1234")89 self.assertEqual(foo.__doc__, "foodoc")
211 self.assertEqual(baz.__doc__, "Whee!")216 self.assertEqual(baz.__doc__, "Whee!")280 cm_docstring = closing.__doc__282 self.assertEqual(obj.__doc__, cm_docstring)406 cm_docstring = mycontext.__doc__408 self.assertEqual(obj.__doc__, cm_docstring)567 cm_docstring = self.exit_stack.__doc__569 self.assertEqual(obj.__doc__, cm_docstring)603 self.assertIsNone(wrapper[1].__doc__, _exit.__doc__)981 cm_docstring = self.redirect_stream.__doc__[all …]
275 self.assertEqual(baz.__doc__, "Whee!")281 self.assertEqual(baz.__doc__, "Whee!")326 cm_docstring = aclosing.__doc__328 self.assertEqual(obj.__doc__, cm_docstring)451 self.assertIsNone(wrapper[1].__doc__, _exit.__doc__)
88 __doc__ = _io._IOBase.__doc__ variable in IOBase91 __doc__ = _io._RawIOBase.__doc__ variable in RawIOBase94 __doc__ = _io._BufferedIOBase.__doc__ variable in BufferedIOBase97 __doc__ = _io._TextIOBase.__doc__ variable in TextIOBase
36 Event.time.__doc__ = ('''Numeric type compatible with the return value of the38 Event.priority.__doc__ = ('''Events scheduled for the same time will be executed40 Event.sequence.__doc__ = ('''A continually increasing sequence number that42 Event.action.__doc__ = ('''Executing the event means executing44 Event.argument.__doc__ = ('''argument is a sequence holding the positional46 Event.kwargs.__doc__ = ('''kwargs is a dictionary holding the keyword
40 SndHeaders.filetype.__doc__ = ("""The value for type indicates the data type43 SndHeaders.framerate.__doc__ = ("""The sampling_rate will be either the actual45 SndHeaders.nchannels.__doc__ = ("""The number of channels or 0 if it cannot be47 SndHeaders.nframes.__doc__ = ("""The value for frames will be either the number49 SndHeaders.sampwidth.__doc__ = ("""Either the sample size in bits or
171 self.__doc__ = doc or fget.__doc__196 fdoc = fget.__doc__ if self.overwrite_doc else None197 result = type(self)(fget, self.fset, self.fdel, fdoc or self.__doc__)202 result = type(self)(self.fget, fset, self.fdel, self.__doc__)207 result = type(self)(self.fget, self.fset, fdel, self.__doc__)
197 _Instruction.opname.__doc__ = "Human readable name for operation"198 _Instruction.opcode.__doc__ = "Numeric code for operation"199 _Instruction.arg.__doc__ = "Numeric argument to operation (if any), otherwise None"200 _Instruction.argval.__doc__ = "Resolved arg value (if known), otherwise same as arg"201 _Instruction.argrepr.__doc__ = "Human readable description of operation argument"202 _Instruction.offset.__doc__ = "Start index of operation within bytecode sequence"203 _Instruction.starts_line.__doc__ = "Line started by this opcode (if any), otherwise None"204 _Instruction.is_jump_target.__doc__ = "True if other code jumps to here, otherwise False"
22 run.__doc__ = _pyprofile.run.__doc__23 runctx.__doc__ = _pyprofile.runctx.__doc__
4 from _decimal import __doc__9 from _pydecimal import __doc__
109 join.__doc__ = text_type.join.__doc__113 split.__doc__ = text_type.split.__doc__117 rsplit.__doc__ = text_type.rsplit.__doc__121 splitlines.__doc__ = text_type.splitlines.__doc__174 func.__doc__ = orig.__doc__
100 if cls.__doc__ and cls.__doc__.startswith('+'):101 cls.__doc__ = _append_doc(cls.__bases__[0].__doc__, cls.__doc__)103 if attr.__doc__ and attr.__doc__.startswith('+'):107 attr.__doc__ = _append_doc(doc, attr.__doc__)
93 benchmark_wo_bytecode.__doc__ = benchmark_wo_bytecode.__doc__.format(name)127 writing_bytecode_benchmark.__doc__ = (128 writing_bytecode_benchmark.__doc__.format(name))157 using_bytecode_benchmark.__doc__ = (158 using_bytecode_benchmark.__doc__.format(name))182 if b.__doc__ == options.benchmark:199 print(benchmark.__doc__, "[", end=' ')208 new_results[benchmark.__doc__] = results212 benchmark_name = benchmark.__doc__
254 _DefragResultBase.__doc__ = """261 _DefragResultBase.url.__doc__ = """The URL with no fragment identifier."""263 _DefragResultBase.fragment.__doc__ = """269 _SplitResultBase.__doc__ = """276 _SplitResultBase.scheme.__doc__ = """Specifies URL scheme for the request."""278 _SplitResultBase.netloc.__doc__ = """282 _SplitResultBase.path.__doc__ = """286 _SplitResultBase.query.__doc__ = """292 _SplitResultBase.fragment.__doc__ = """297 _ParseResultBase.__doc__ = """[all …]
123 join.__doc__ = str.join.__doc__130 split.__doc__ = str.split.__doc__137 rsplit.__doc__ = str.rsplit.__doc__142 splitlines.__doc__ = str.splitlines.__doc__
55 if func.__doc__:56 method.__doc__ = func.__doc__79 self.__doc__ = func.__doc__
64 if List.__doc__ is not None:97 if textwrap.TextWrapper.__doc__ is not None:141 f.__doc__ = 'a'*300160 f.__doc__ = 'a\n' * 15175 doc = '\ndoc' if t1.__doc__ is not None else ''181 doc = '\ndoc' if TC.__doc__ is not None else ''190 doc = '\ndoc' if TC.__doc__ is not None else ''
254 BoundParamTest.__doc__ = '%s(%s)' % (256 if test_method.__doc__:257 BoundParamTest.__doc__ += '\n%s' % (test_method.__doc__,)
178 submit.__doc__ = _base.Executor.submit.__doc__236 shutdown.__doc__ = _base.Executor.shutdown.__doc__
29 gmock_class.__doc__ = gmock_class.__doc__.replace('gmock_class.py', __file__)